Add form component, redux devtools and fix reducers

This commit is contained in:
James Greenaway
2019-01-30 18:07:47 +00:00
parent 9e0cd0304e
commit 759fec17f3
11 changed files with 105 additions and 21 deletions

17
src/state/reducer.ts Normal file
View File

@@ -0,0 +1,17 @@
import { combineReducers } from 'redux';
import { Action } from './actions';
import {
State as WorkloadsState,
reducer as workloadReducer,
} from './workloads';
export interface State {
workloads: WorkloadsState;
}
export const reducer = combineReducers<State, Action>({
workloads: workloadReducer,
});