Skip to content

Commit 38cb293

Browse files
committed
feat(frontend): make theme persist
1 parent ca78f8f commit 38cb293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/store/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const persistedReducer = combineReducers({
1010
auth: persistReducer({ key: "auth", storage, }, authReducers),
1111
database: persistReducer({ key: "database", storage, }, databaseReducers),
1212
common: commonReducers,
13-
global: globalReducers,
13+
global: persistReducer({ key: "global", storage, }, globalReducers),
1414
});
1515

1616
export const reduxStore = configureStore({

0 commit comments

Comments
 (0)