add redux in csc
This commit is contained in:
parent
a89007a81b
commit
3534919502
14 changed files with 277 additions and 12 deletions
18
sae-csc/src/app/redux/initialState.ts
Normal file
18
sae-csc/src/app/redux/initialState.ts
Normal file
|
@ -0,0 +1,18 @@
|
|||
// 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: "",
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue