From c59638aaaeb3d6f1909327ea1a4d5d62dd349627 Mon Sep 17 00:00:00 2001 From: Rokt33r Date: Sat, 14 May 2016 19:00:45 +0900 Subject: [PATCH] Don't call devtron every refreshing --- browser/main/index.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/browser/main/index.js b/browser/main/index.js index 8765bd3f..718fc3b2 100644 --- a/browser/main/index.js +++ b/browser/main/index.js @@ -7,14 +7,11 @@ require('!!style!css!stylus?sourceMap!../styles/main/index.styl') import activityRecord from 'browser/lib/activityRecord' import fetchConfig from '../lib/fetchConfig' import { Router, Route, IndexRoute, IndexRedirect, hashHistory } from 'react-router' +import { syncHistoryWithStore } from 'react-router-redux' + const electron = require('electron') const ipc = electron.ipcRenderer const path = require('path') -import { syncHistoryWithStore } from 'react-router-redux' - -const PRO = process.env.NODE_ENV === 'production' -if (!PRO) require('devtron').install() - const remote = electron.remote let config = fetchConfig()