19 lines
371 B
TypeScript
19 lines
371 B
TypeScript
![]() |
// Define initial state
|
||
|
import {StateInterface} from './reducers';
|
||
|
|
||
|
|
||
|
export const initialState: StateInterface = {
|
||
|
app: {
|
||
|
backendAPIRoot: "",
|
||
|
demoMode: true, // selon l'environnement
|
||
|
},
|
||
|
currentLang: "fr_FR",
|
||
|
currentTheme: "light",
|
||
|
langsList: ["fr_FR", "en_US"],
|
||
|
themesList: ["light", "dark"],
|
||
|
user: {
|
||
|
isAuthenticated: false,
|
||
|
id: "",
|
||
|
},
|
||
|
};
|