hidden show password & delete history path
This commit is contained in:
@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user