We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d4a1c4 commit fe54138Copy full SHA for fe54138
app/client/main.js
@@ -6,12 +6,11 @@ import App from './containers/App';
6
import reducers from './reducers';
7
import actionCreators from './actions';
8
9
-const isDevelopment = process.env.NODE_ENV === 'development';
10
const initialState = {};
11
12
const composeEnhancers = (() => {
13
const compose_ = window && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;
14
- if(isDevelopment && compose_) {
+ if(process.env.NODE_ENV === 'development' && compose_) {
15
return compose_({ actionCreators });
16
}
17
return compose;
0 commit comments