diff --git a/frontend/src/App/slice.ts b/frontend/src/App/slice.ts index eb978a971..bee2e4ecb 100644 --- a/frontend/src/App/slice.ts +++ b/frontend/src/App/slice.ts @@ -21,7 +21,7 @@ const getInitialState = (): IAppState => { try { const modeStorageData = localStorage.getItem(MODE_STORAGE_KEY); - if (modeStorageData && JSON.parse(modeStorageData)) { + if (modeStorageData) { activeMode = modeStorageData as Mode; } } catch (e) {