Delete demo code and add service demo to epics file

This commit is contained in:
James Greenaway
2019-01-30 18:16:52 +00:00
parent 759fec17f3
commit 46e922ea58
2 changed files with 6 additions and 66 deletions

View File

@@ -8,6 +8,12 @@ import { State } from '../reducer';
type AppEpic = Epic<Action, Action, State>;
// import { WorkloadService } from './services';
// const workloadService = new WorkloadService();
// workloadService.create({ complexity: 1 })
// .then(console.log.bind(console, 'workloadService create'));
const logWorkloadSubmissions: AppEpic = (action$, state$) => (
action$.pipe(
ofType('WORKLOAD_SUBMIT'),