This commit is contained in:
2020-04-25 18:46:23 +03:00
parent 36cff8be53
commit 9beee8f833
79 changed files with 409 additions and 113 deletions
Executable → Regular
View File
Executable → Regular
View File
View File
Executable → Regular
View File
View File
Executable → Regular
+2 -1
View File
@@ -5,4 +5,5 @@ import {composeWithDevTools} from "redux-devtools-extension";
const composeEnhancers = composeWithDevTools({
trace: true
});
export default createStore(index, composeEnhancers());
const store = process.env.NODE_ENV === 'development' ? createStore(index, composeEnhancers()) : createStore(index);
export default store;