Skip to content

Commit f179a18

Browse files
change store theme by theme default data
1 parent fbbe6ad commit f179a18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/common/hooks/use-app-theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function useAppTheme(options: UseAppThemeType) {
3131
themes[Object.keys(t)[0]] = t
3232
})
3333

34-
if (appStore.configuration?.theme === '') {
34+
if (appStore.configuration?.theme === '' || appStore.configuration?.theme !== themeData.defaultTheme) {
3535
dispatch(setTheme(themeData.defaultTheme))
3636
}
3737

0 commit comments

Comments
 (0)