We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7305f6e commit db5a79dCopy full SHA for db5a79d
redisinsight/ui/src/contexts/themeContext.tsx
@@ -23,10 +23,10 @@ export class ThemeProvider extends React.Component<Props> {
23
super(props)
24
25
const storedThemeValue = localStorageService.get(BrowserStorageItem.theme)
26
- const usingSystemTheme = localStorageService.get(BrowserStorageItem.theme) === Theme.System
27
const theme = !storedThemeValue || !THEME_NAMES.includes(storedThemeValue)
28
? defaultState.theme
29
: storedThemeValue
+ const usingSystemTheme = theme === Theme.System
30
31
themeService.applyTheme(theme)
32
0 commit comments