feat: set redirect in state

This commit is contained in:
2025-06-07 02:09:35 +02:00
parent 7f0511b0d4
commit f9848d2110

View File

@ -155,7 +155,7 @@ const AuthLayout = () => {
verificationRequired &&
!location.pathname.startsWith("/verify")
) {
return <Navigate to="/verify" />;
return <Navigate to="/verify" state={{ from: location.pathname }} />;
}
return (