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

Small code fix (#2099)

Using actionType instead of plain string
This commit is contained in:
Bruno 2017-05-29 14:36:57 -03:00 committed by Tim Neutkens
parent 98fb1a0df1
commit 9f994631f8

View file

@ -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 => {