Skip to content

Commit c59638a

Browse files
committed
Don't call devtron every refreshing
1 parent 00691f1 commit c59638a

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

browser/main/index.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,11 @@ require('!!style!css!stylus?sourceMap!../styles/main/index.styl')
77
import activityRecord from 'browser/lib/activityRecord'
88
import fetchConfig from '../lib/fetchConfig'
99
import { Router, Route, IndexRoute, IndexRedirect, hashHistory } from 'react-router'
10+
import { syncHistoryWithStore } from 'react-router-redux'
11+
1012
const electron = require('electron')
1113
const ipc = electron.ipcRenderer
1214
const path = require('path')
13-
import { syncHistoryWithStore } from 'react-router-redux'
14-
15-
const PRO = process.env.NODE_ENV === 'production'
16-
if (!PRO) require('devtron').install()
17-
1815
const remote = electron.remote
1916

2017
let config = fetchConfig()

0 commit comments

Comments
 (0)