1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-26 05:16:41 +07:00
This commit is contained in:
Fedor Katurov 2021-03-22 15:56:35 +07:00
parent 9745b895f1
commit 11fd582453
23 changed files with 328 additions and 101 deletions

View file

@ -1,6 +1,7 @@
import { createReducer } from '~/utils/reducer';
import { LAB_HANDLERS } from '~/redux/lab/handlers';
import { ILabState } from '~/redux/lab/types';
import { INode, ITag } from '~/redux/types';
const INITIAL_STATE: ILabState = {
list: {
@ -9,6 +10,12 @@ const INITIAL_STATE: ILabState = {
count: 0,
error: '',
},
stats: {
is_loading: false,
heroes: [],
tags: [],
error: undefined,
},
};
export default createReducer(INITIAL_STATE, LAB_HANDLERS);