-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added reset password page #217
Conversation
Wan-Weng
commented
Feb 12, 2025
- Issue Reset new password page #214
- Created a reset password page with a similar design to the login page
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/client/routes/password.tsx
Outdated
|
||
const Password = () => { | ||
const { | ||
formState: { errors }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should add isSubmitting to the form / button so only clickable if not submitted
src/client/routes/password.tsx
Outdated
"hover:bg-saseBlueLight hover:text-white", | ||
errors.email && "cursor-not-allowed opacity-50", | ||
)} | ||
disabled={!!errors.email} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be set to isSubmitting
Hi Wan! I know that u said u were busy this week but for creating your reset password page, you can call AuthForm.tsx like the login.tsx and signup.tsx so the styling can be applied in the same way (look at login.tsx and signup.tsx to see what I mean). This would require you to edit the AuthForm.tsx as well. Let me know with any questions. |
looks good to me, nice job Wan! |