From 9f994631f8d9d8121ad3dec7a4c5c8c6e1298d2b Mon Sep 17 00:00:00 2001 From: Bruno Date: Mon, 29 May 2017 14:36:57 -0300 Subject: [PATCH] Small code fix (#2099) Using actionType instead of plain string --- examples/with-redux/store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/with-redux/store.js b/examples/with-redux/store.js index ce5abe4d..8291b0f4 100644 --- a/examples/with-redux/store.js +++ b/examples/with-redux/store.js @@ -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 => {