Merge branch 'dev' of https://iutbg-gitlab.iutbourg.univ-lyon1.fr/sae-but2/2025-26/gestion-benevoles-association/Frontend into dev
merge
This commit is contained in:
@@ -14,7 +14,6 @@ export function AuthProvider({ children }) {
|
||||
const u = await getUser();
|
||||
setUser(u);
|
||||
setLoading(false);
|
||||
console.log(u);
|
||||
})();
|
||||
}, []);
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user