on master help sign in
qol: fix network init logic
2b57c77tomholford
src/Bridge.js+4−4
@@ -19,10 +19,10 @@ import 'style/index.scss';
19import WithErrorBoundary from 'components/WithErrorBoundary';
19import WithErrorBoundary from 'components/WithErrorBoundary';
20import GlobalErrorBoundary from 'components/GlobalErrorBoundary';
20import GlobalErrorBoundary from 'components/GlobalErrorBoundary';
21
21
22−const INITIAL_NETWORK_TYPE = isDevelopment
22+const INITIAL_NETWORK_TYPE = isRopsten
23− ? isRopsten
24− ? NETWORK_TYPES.ROPSTEN
23+ ? NETWORK_TYPES.ROPSTEN
24+ : isDevelopment
25− : NETWORK_TYPES.LOCAL
25+ ? NETWORK_TYPES.LOCAL
26 : NETWORK_TYPES.MAINNET;
26 : NETWORK_TYPES.MAINNET;
27
27
28// NB(shrugs): modify these variables to change the default local state.
28// NB(shrugs): modify these variables to change the default local state.