mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 05:16:41 +07:00
#23 lab stats
This commit is contained in:
parent
9745b895f1
commit
11fd582453
23 changed files with 328 additions and 101 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue