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 aa25964 commit 07e1456Copy full SHA for 07e1456
1 file changed
frontend/src/App/slice.ts
@@ -21,7 +21,7 @@ const getInitialState = (): IAppState => {
21
try {
22
const modeStorageData = localStorage.getItem(MODE_STORAGE_KEY);
23
24
- if (modeStorageData && JSON.parse(modeStorageData)) {
+ if (modeStorageData) {
25
activeMode = modeStorageData as Mode;
26
}
27
} catch (e) {
0 commit comments