fix pour merge
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ function Layout(){
|
||||
const { user, loading } = useContext(AuthContext);
|
||||
|
||||
if (loading) return <p>Loading</p>;
|
||||
//if (!user) return <Navigate to="/login" />;
|
||||
if (!user) return <Navigate to="/login" />;
|
||||
|
||||
return (
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user