Commit d2ef3442 authored by Timon Borter's avatar Timon Borter Committed by Tim Neutkens

push redux-saga to major release 1.0.1. (#6300)

parent 04ce3e71
......@@ -11,13 +11,13 @@
"es6-promise": "4.1.1",
"isomorphic-unfetch": "2.0.0",
"next": "latest",
"next-redux-saga": "3.0.0",
"next-redux-saga": "4.0.0",
"next-redux-wrapper": "2.0.0",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-redux": "5.0.7",
"redux": "4.0.0",
"redux-saga": "0.16.0"
"redux": "4.0.1",
"redux-saga": "1.0.1"
},
"devDependencies": {
"redux-devtools-extension": "2.13.2"
......
......@@ -29,4 +29,4 @@ class MyApp extends App {
}
}
export default withRedux(createStore)(withReduxSaga({ async: true })(MyApp))
export default withRedux(createStore)(withReduxSaga(MyApp))
/* global fetch */
import { delay } from 'redux-saga'
import { all, call, put, take, takeLatest } from 'redux-saga/effects'
import { all, call, delay, put, take, takeLatest } from 'redux-saga/effects'
import es6promise from 'es6-promise'
import 'isomorphic-unfetch'
......@@ -13,7 +12,7 @@ function * runClockSaga () {
yield take(actionTypes.START_CLOCK)
while (true) {
yield put(tickClock(false))
yield call(delay, 1000)
yield delay(1000)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment