Skip to content

Commit

Permalink
Merge pull request #79 from nllerandi/App-not-displaying-on-all-brows…
Browse files Browse the repository at this point in the history
…ers_devices#62

App-not-displaying-on-all-browsers_devices#62
  • Loading branch information
nickllerandi authored May 1, 2019
2 parents 1cf5e0f + 1979498 commit e511c0a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions client/src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ import rootReducer from "./reducers";

const initialState = {};

const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;

const store = createStore(
rootReducer,
initialState,
compose(
applyMiddleware(thunk),
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
composeEnhancers(
applyMiddleware(thunk)
// ,window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
)
);

Expand Down

0 comments on commit e511c0a

Please sign in to comment.