mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
Don't call devtron every refreshing
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user