initial FBS admin

This commit is contained in:
2021-07-12 09:41:26 +05:30
commit a64f3fdeaf
64 changed files with 2582 additions and 0 deletions

17
src/store.js Normal file
View File

@ -0,0 +1,17 @@
import { createStore } from 'redux'
const initialState = {
sidebarShow: 'responsive'
}
const changeState = (state = initialState, { type, ...rest }) => {
switch (type) {
case 'set':
return {...state, ...rest }
default:
return state
}
}
const store = createStore(changeState)
export default store