1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00
vault-frontend/src/redux/lab/index.ts
2021-03-12 13:56:23 +07:00

14 lines
330 B
TypeScript

import { createReducer } from '~/utils/reducer';
import { LAB_HANDLERS } from '~/redux/lab/handlers';
import { ILabState } from '~/redux/lab/types';
const INITIAL_STATE: ILabState = {
list: {
is_loading: false,
nodes: [],
count: 0,
error: '',
},
};
export default createReducer(INITIAL_STATE, LAB_HANDLERS);