feat/analytics #9

Merged
GauthierWebDev merged 29 commits from feat/analytics into main 2025-04-18 15:05:51 +00:00
2 changed files with 1 additions and 0 deletions
Showing only changes of commit f26e06b433 - Show all commits

View File

@ -18,6 +18,7 @@ export function ThemeProvider(props: ThemeProviderProps) {
rootElement.classList.toggle("light", theme === "light");
if (cookies.consent.customization) {
console.log(`ThemeProvider: ${theme}`);
// TODO: update the theme in the cookies
}
}, [theme]);