p2405951
2025-12-10 14:25:25 +01:00
3 changed files with 2 additions and 3 deletions
@@ -26,7 +26,7 @@ export default function ThemeSwitcher() {
};
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>
</Button>
}
-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