1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

With redux example clock interval fix (#3756)

This commit is contained in:
Shogun Sea 2018-02-11 04:36:33 -08:00 committed by Tim Neutkens
parent 5daf3830db
commit 7d7deca1b3

View file

@ -32,7 +32,7 @@ export const serverRenderClock = (isServer) => dispatch => {
}
export const startClock = () => dispatch => {
return setInterval(() => dispatch({ type: actionTypes.TICK, light: true, ts: Date.now() }), 800)
return setInterval(() => dispatch({ type: actionTypes.TICK, light: true, ts: Date.now() }), 1000)
}
export const addCount = () => dispatch => {