Commit 9f994631 authored by Bruno's avatar Bruno Committed by Tim Neutkens

Small code fix (#2099)

Using actionType instead of plain string
parent 98fb1a0d
...@@ -32,7 +32,7 @@ export const serverRenderClock = (isServer) => dispatch => { ...@@ -32,7 +32,7 @@ export const serverRenderClock = (isServer) => dispatch => {
} }
export const startClock = () => 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 => { export const addCount = () => dispatch => {
......
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