We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d48db01 commit cf7309dCopy full SHA for cf7309d
1 file changed
src/contexts/MainContextProvider/index.jsx
@@ -1,7 +1,7 @@
1
import React, { useReducer, createContext } from 'react';
2
import MainReducer from '../../reducers/MainReducer';
3
4
-const themeIndex = typeof window !== 'undefined' && localStorage.themeIndex ? parseFloat(localStorage.themeIndex) : 1;
+const themeIndex = typeof window !== 'undefined' && localStorage.themeIndex ? parseFloat(localStorage.themeIndex) : 0;
5
const themeColorIndex = typeof window !== 'undefined' && localStorage.themeColorIndex
6
? parseFloat(localStorage.themeColorIndex)
7
: 0;
0 commit comments