2025-12-10 14:15:25 +01:00
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -14,7 +14,6 @@ export function AuthProvider({ children }) {
const u = await getUser();
setUser(u);
setLoading(false);
console.log(u);
})();
}, []);
+1 -1
View File
@@ -58,7 +58,7 @@ export default function VolunteerCard({ user }) {
{isExpanded && (
<div className={styles.bottomBar}>
<Button
onClick={() => navigate(`/profile/${id}`)}
onClick={() => navigate(`/profile/${user.id}`)}
variant="primary"
>
Voir plus