correction erreur responsive

This commit is contained in:
Antoine Ordonneau committed 2026-01-05 11:15:17 +01:00
1 parent a98af05a5d
commit 68d2db0ed3
3 files changed
+8 -14

No files matched your search

+2 -2
View File
@@ -9,11 +9,11 @@ import { AuthContext } from "./contexts/auth/AuthContext.js";
function Layout(){
const { user, loading } = useContext(AuthContext);
/*const { user, loading } = useContext(AuthContext);
if (loading) return <p>Loading</p>;
if (!user) return <Navigate to="/login" />;
if(user && user.validate === 0) return <Navigate to="/error/validation" />;
if(user && user.validate === 0) return <Navigate to="/error/validation" />;*/
return (
<div>