import React from 'react'; import * as Text from '../../../shared/components/text/text'; import { Modal } from 'app/shared/components/modal/modal'; import { authSendChangePwdEmail } from 'app/common/store/auth/auth.actions'; import { useDispatch } from 'react-redux'; interface ResetPasswordModalProps { isOpened: boolean; onOverlay: () => void; } export const ResetPasswordModal = ({ isOpened, onOverlay }: ResetPasswordModalProps) => { const dispatch = useDispatch(); return ( <>
RESET PASSWORD
If you need to change your password, please dispatch(authSendChangePwdEmail())}> {' '}click here and we’ll send you an email with a link to reset it.
); }; export default ResetPasswordModal;