1
0
Fork 0
mirror of https://github.com/betagouv/mon-entreprise synced 2025-02-08 22:15:02 +00:00
mon-entreprise/source/sagas.js

17 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() ]
}