fix: repair custom theme

pull/90/head
Gabe Farrell 3 weeks ago
parent a436bf5c2f
commit 1087f58a9a

@ -90,6 +90,7 @@ export function ThemeProvider({
localStorage.setItem('custom-theme', JSON.stringify(customTheme)); localStorage.setItem('custom-theme', JSON.stringify(customTheme));
applyCustomThemeVars(customTheme); applyCustomThemeVars(customTheme);
setThemeName('custom'); setThemeName('custom');
localStorage.setItem('theme', 'custom')
setCurrentTheme(customTheme); setCurrentTheme(customTheme);
}, []); }, []);

Loading…
Cancel
Save