Add form component, redux devtools and fix reducers
This commit is contained in:
17
src/state/reducer.ts
Normal file
17
src/state/reducer.ts
Normal 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,
|
||||
});
|
||||
Reference in New Issue
Block a user