Closed karrui closed 1 year ago
Currently users are able to resend OTP infinite times. This PR blocks the frontend from resending OTP for 60 seconds correctly.
Also replaces rooks package with usehooks-ts package, since the hooks in usehooks-ts has better support for SSR
rooks
usehooks-ts
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Currently users are able to resend OTP infinite times. This PR blocks the frontend from resending OTP for 60 seconds correctly.
Also replaces
rooks
package withusehooks-ts
package, since the hooks inusehooks-ts
has better support for SSR