1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

added saga for boris load stats

This commit is contained in:
Fedor Katurov 2020-06-08 14:01:20 +07:00
parent f8b2b3707b
commit 29c3b8a26f
8 changed files with 83 additions and 7 deletions

View file

@ -11,12 +11,14 @@ export type IBorisState = Readonly<{
stats: {
git: IStatGitRow[];
};
is_loading: boolean;
}>;
const BORIS_INITIAL_STATE: IBorisState = {
stats: {
git: [],
},
is_loading: false,
};
export default createReducer(BORIS_INITIAL_STATE, BORIS_HANDLERS);