diff --git a/react/src/actions/actionCreators.js b/react/src/actions/actionCreators.js index 42f2055..667896d 100644 --- a/react/src/actions/actionCreators.js +++ b/react/src/actions/actionCreators.js @@ -1,7 +1,6 @@ import 'whatwg-fetch'; import 'bluebird'; -import _config from '../config'; import { translate } from '../translate/translate'; import { GET_ACTIVE_COINS, @@ -68,14 +67,6 @@ export * from './actions/iguanaHelpers'; export * from './actions/cli'; export * from './actions/update'; -export let Config; - -try { - Config = window.require('electron').remote.getCurrentWindow().appConfig; -} catch (e) { - Config = _config; -} - export function changeActiveAddress(address) { return { type: DASHBOARD_ACTIVE_ADDRESS, diff --git a/react/src/components/dashboard/settings/settings.js b/react/src/components/dashboard/settings/settings.js index 89634b3..109f936 100644 --- a/react/src/components/dashboard/settings/settings.js +++ b/react/src/components/dashboard/settings/settings.js @@ -49,7 +49,7 @@ class Settings extends React.Component { activeTabHeight: '0', appSettings: {}, tabElId: null, - cliCmdString: null, + cliCmdString: '', cliCoin: null, cliResponse: null, exportWifKeysRaw: false, diff --git a/react/src/components/dashboard/settings/settings.render.js b/react/src/components/dashboard/settings/settings.render.js index 084bb90..47d4fd4 100644 --- a/react/src/components/dashboard/settings/settings.render.js +++ b/react/src/components/dashboard/settings/settings.render.js @@ -338,7 +338,7 @@ export const SettingsRender = function() { className={ 'panel-collapse collapse' + (this.state.activeTab === 4 ? ' in' : '') } style={{ height: this.state.activeTab === 4 ? `${this.state.activeTabHeight}px` : '0' }}>
+