MyCrypto/common/reducers/config/index.ts

13 lines
378 B
TypeScript
Raw Normal View History

2018-01-27 20:20:02 +00:00
import { meta, State as MetaState } from './meta';
import { networks, State as NetworksState } from './networks';
import { nodes, State as NodesState } from './nodes';
import { combineReducers } from 'redux';
export interface State {
meta: MetaState;
networks: NetworksState;
nodes: NodesState;
}
export const config = combineReducers<State>({ meta, networks, nodes });