Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Commit

Permalink
chore: disable redux-logger by default (#1310)
Browse files Browse the repository at this point in the history
  • Loading branch information
laumair authored and cvarley100 committed Apr 15, 2019
1 parent e6cf78a commit 30aaebf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/shared/store.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import assign from 'lodash/assign';
import { createStore, combineReducers, applyMiddleware, compose } from 'redux';
/* eslint-disable no-unused-vars */
import logger from 'redux-logger';
/* eslint-enable no-unused-vars */
import thunk from 'redux-thunk';
import marketData from './reducers/marketData';
import wallet from './reducers/wallet';
Expand All @@ -24,7 +26,7 @@ const developmentMiddleware = [thunk, networkMiddleware, versionMiddleware, aler
const productionMiddleware = [thunk, networkMiddleware, versionMiddleware, alertsMiddleware, modalMiddleware];

if (__MOBILE__) {
developmentMiddleware.unshift(logger);
/* developmentMiddleware.unshift(logger); */
}

const reducers = combineReducers({
Expand Down

0 comments on commit 30aaebf

Please sign in to comment.