diff --git a/app/src/store/index.ts b/app/src/store/index.ts index dc846f3..fa5be68 100644 --- a/app/src/store/index.ts +++ b/app/src/store/index.ts @@ -20,6 +20,11 @@ const persistSidebarConfig = { storage, } +const persistMessageConfig = { + key: 'message', + storage, +} + const store = configureStore({ reducer: { // auth: authReducer, @@ -27,7 +32,7 @@ const store = configureStore({ settingsUI: settingsUIReducer, voices: persistReducer(persistConfig, voiceReducer), parameters: persistReducer(persistConfig, parametersReducer), - message: messageReducer, + message: persistReducer(persistMessageConfig, messageReducer), ui: uiReducer, sidebar: persistReducer(persistSidebarConfig, sidebarReducer), },