feat: implement propTypes for FlowSubstep and FlowSubstepTitle

This commit is contained in:
Rıdvan Akca
2024-05-15 13:56:57 +02:00
parent 9548c93b4c
commit b06c744392
4 changed files with 49 additions and 0 deletions

View File

@@ -7,9 +7,11 @@ import { FORGOT_PASSWORD } from 'graphql/mutations/forgot-password.ee';
import Form from 'components/Form';
import TextField from 'components/TextField';
import useFormatMessage from 'hooks/useFormatMessage';
export default function ForgotPasswordForm() {
const formatMessage = useFormatMessage();
const [forgotPassword, { data, loading }] = useMutation(FORGOT_PASSWORD);
const handleSubmit = async (values) => {
await forgotPassword({
variables: {
@@ -17,6 +19,7 @@ export default function ForgotPasswordForm() {
},
});
};
return (
<Paper sx={{ px: 2, py: 4 }}>
<Typography