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:
parent
5daf3830db
commit
7d7deca1b3
|
@ -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 => {
|
||||
|
|
Loading…
Reference in a new issue