mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
parent
98fb1a0df1
commit
9f994631f8
|
@ -32,7 +32,7 @@ export const serverRenderClock = (isServer) => dispatch => {
|
|||
}
|
||||
|
||||
export const startClock = () => dispatch => {
|
||||
return setInterval(() => dispatch({ type: 'TICK', light: true, ts: Date.now() }), 800)
|
||||
return setInterval(() => dispatch({ type: actionTypes.TICK, light: true, ts: Date.now() }), 800)
|
||||
}
|
||||
|
||||
export const addCount = () => dispatch => {
|
||||
|
|
Loading…
Reference in a new issue