mon-entreprise/source/sagas.js

18 lines
355 B
JavaScript

import { takeEvery} from 'redux-saga'
import { call, put} from 'redux-saga/effects'
import Promise from 'core-js/fn/promise'
// Nothing happening here !
function* handleSubmitStep() {
console.log('salut')
}
function* watchSteps() {
yield* takeEvery('SUBMIT_STEP', handleSubmitStep)
}
export default function* rootSaga() {
yield [ watchSteps() ]
}