1
0
Fork 0
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:
Fedor Katurov 2019-11-18 15:15:41 +07:00
parent 971578bb21
commit 6641a03d92
4 changed files with 57 additions and 23 deletions

View file

@ -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))