Skip to content

Commit fe54138

Browse files
author
Andrej Mihajlov
committed
Refactor code
1 parent 1d4a1c4 commit fe54138

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/client/main.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ import App from './containers/App';
66
import reducers from './reducers';
77
import actionCreators from './actions';
88

9-
const isDevelopment = process.env.NODE_ENV === 'development';
109
const initialState = {};
1110

1211
const composeEnhancers = (() => {
1312
const compose_ = window && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;
14-
if(isDevelopment && compose_) {
13+
if(process.env.NODE_ENV === 'development' && compose_) {
1514
return compose_({ actionCreators });
1615
}
1716
return compose;

0 commit comments

Comments
 (0)