react-bootstrap-theme-switcher
react-bootstrap-theme-switcher copied to clipboard
ThemeSwitcher sometimes doesn't save the last selected theme after reload.
trafficstars
After select some theme from the list AFTER 'default' theme and relaod window it rolls back to the previous one.
<ThemeSwitcher defaultTheme='default' themePath='/themes' storeThemeKey='ui-theme' themes={themes}>
...
</ThemeSwitcher>
The workaround is to rename 'default' theme to something else, so it can be saved to localStorage.