mirror of
https://github.com/gabehf/Koito.git
synced 2026-04-22 20:11:50 -07:00
fix: repair custom theme
This commit is contained in:
parent
a436bf5c2f
commit
1087f58a9a
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue