Merge branch 'dev' of https://iutbg-gitlab.iutbourg.univ-lyon1.fr/sae-but2/2025-26/gestion-benevoles-association/frontend into dev
This commit is contained in:
commit
8c97953d6c
3 files changed
+2
-3
No files matched your search
@@ -26,7 +26,7 @@ export default function ThemeSwitcher() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return <Button variant={"default"} onClick={switchTheme} className={styles.themeBtn}>
|
return <Button variant={"default"} onClick={switchTheme} className={styles.themeBtn}>
|
||||||
<img src={`/public/icons/theme/${theme}.svg`} alt={`${theme} icon`} className={styles.themeIcon} />
|
<img src={`/icons/theme/${theme}.svg`} alt={`${theme} icon`} className={styles.themeIcon} />
|
||||||
<p>Changer de thème </p>
|
<p>Changer de thème </p>
|
||||||
</Button>
|
</Button>
|
||||||
}
|
}
|
||||||
@@ -14,7 +14,6 @@ export function AuthProvider({ children }) {
|
|||||||
const u = await getUser();
|
const u = await getUser();
|
||||||
setUser(u);
|
setUser(u);
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
console.log(u);
|
|
||||||
})();
|
})();
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ export default function VolunteerCard({ user }) {
|
|||||||
{isExpanded && (
|
{isExpanded && (
|
||||||
<div className={styles.bottomBar}>
|
<div className={styles.bottomBar}>
|
||||||
<Button
|
<Button
|
||||||
onClick={() => navigate(`/profile/${id}`)}
|
onClick={() => navigate(`/profile/${user.id}`)}
|
||||||
variant="primary"
|
variant="primary"
|
||||||
>
|
>
|
||||||
Voir plus
|
Voir plus
|
||||||
|
|||||||
Reference in new issue
Block a user