Restructured check email page

This commit is contained in:
Daniel Cojocea committed 2024-07-16 14:29:59 -04:00
1 parent 9f78173625
commit 3c8e722706
7 files changed
+184 -122

No files matched your search

+2 -1
View File
@@ -50,6 +50,7 @@ const ForgotPassword = () => {
} else {
const action = await dispatch(forgotPassword(form));
if (action.payload.success) {
sessionStorage.setItem("email", form.email);
navigate("/check-email");
createToast({
variant: "info",
@@ -100,7 +101,7 @@ const ForgotPassword = () => {
return (
<div className="forgot-password-page">
<BackgroundPattern></BackgroundPattern>
<form className="forgot-password-form">
<form className="forgot-password-form" onSubmit={handleSubmit}>
<Stack direction="column" alignItems="center" gap={theme.gap.small}>
<Logomark alt="Logomark" style={{ fill: "white" }} />
<Typography component="h1" sx={{ mt: theme.gap.ml }}>