hidden show password & delete history path

This commit is contained in:
Raja Oktafrianto
2025-03-19 17:31:48 +07:00
parent 16029e10cd
commit 1bd187331c
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ const RequireAuth = () => {
return <ScreenLoader />;
}
return auth ? <Outlet /> : <Navigate to="/auth/login" state={{ from: location }} replace />;
return auth ? <Outlet /> : <Navigate to="/auth/login" replace />;
};
export { RequireAuth };