mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
getting flow diff
This commit is contained in:
parent
971578bb21
commit
6641a03d92
4 changed files with 57 additions and 23 deletions
|
@ -43,6 +43,12 @@ const authPersistConfig: PersistConfig = {
|
|||
storage
|
||||
};
|
||||
|
||||
const flowPersistConfig: PersistConfig = {
|
||||
key: "flow",
|
||||
whitelist: ["nodes"],
|
||||
storage
|
||||
};
|
||||
|
||||
export interface IState {
|
||||
auth: IAuthState;
|
||||
modal: IModalState;
|
||||
|
@ -76,7 +82,7 @@ export const store = createStore(
|
|||
router: connectRouter(history),
|
||||
node: nodeReducer,
|
||||
uploads: uploadReducer,
|
||||
flow: flowReducer,
|
||||
flow: persistReducer(flowPersistConfig, flowReducer),
|
||||
player: playerReducer
|
||||
}),
|
||||
composeEnhancers(applyMiddleware(routerMiddleware(history), sagaMiddleware))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue