Add basic 'workloads' Redux app
This commit is contained in:
18
src/state/reducers.ts
Normal file
18
src/state/reducers.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { combineReducers } from 'redux';
|
||||
|
||||
import {
|
||||
Store as WorkloadsStore,
|
||||
Action as WorkloadActions,
|
||||
reducer as workloadReducer,
|
||||
} from './workloads';
|
||||
|
||||
|
||||
export type Action = WorkloadActions;
|
||||
|
||||
export interface Store {
|
||||
workloads: WorkloadsStore;
|
||||
}
|
||||
|
||||
export const reducers = combineReducers<Store, Action>({
|
||||
workloads: workloadReducer,
|
||||
});
|
||||
Reference in New Issue
Block a user