Skip to content

Commit

Permalink
fix(store): dont redeclare state variable
Browse files Browse the repository at this point in the history
  • Loading branch information
colinmeinke committed Feb 13, 2016
1 parent db7eae4 commit b253d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/store/configureStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const configureStore = ({ isServer = false, url = '/' } = {}) => {
) : middleware;

return new Promise(( resolve, reject ) => {
const state = getState( url, routes, reducer ).then( state => {
getState( url, routes, reducer ).then( state => {
const store = createStore( reducer, state, enhancer );

if ( __DEVELOPMENT__ && module.hot ) {
Expand Down

0 comments on commit b253d2a

Please sign in to comment.