Skip to content

Commit

Permalink
App-not-displaying-on-all-browsers_devices#62
Browse files Browse the repository at this point in the history
  • Loading branch information
nickllerandi committed May 1, 2019
1 parent 3f0dccc commit 1979498
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 1979498

Please sign in to comment.