aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/website/public/images/network_icons/rinkeby.png (renamed from packages/website/public/images/network_icons/rinkby.png)bin126 -> 126 bytes
-rw-r--r--packages/website/ts/components/dialogs/ledger_config_dialog.tsx9
2 files changed, 3 insertions, 6 deletions
diff --git a/packages/website/public/images/network_icons/rinkby.png b/packages/website/public/images/network_icons/rinkeby.png
index f9ba18778..f9ba18778 100644
--- a/packages/website/public/images/network_icons/rinkby.png
+++ b/packages/website/public/images/network_icons/rinkeby.png
Binary files differ
diff --git a/packages/website/ts/components/dialogs/ledger_config_dialog.tsx b/packages/website/ts/components/dialogs/ledger_config_dialog.tsx
index 510025774..d5510606b 100644
--- a/packages/website/ts/components/dialogs/ledger_config_dialog.tsx
+++ b/packages/website/ts/components/dialogs/ledger_config_dialog.tsx
@@ -10,7 +10,7 @@ import { Blockchain } from 'ts/blockchain';
import { NetworkDropDown } from 'ts/components/dropdowns/network_drop_down';
import { LifeCycleRaisedButton } from 'ts/components/ui/lifecycle_raised_button';
import { Dispatcher } from 'ts/redux/dispatcher';
-import { ProviderType, Networks } from 'ts/types';
+import { Networks, ProviderType } from 'ts/types';
import { colors } from 'ts/utils/colors';
import { configs } from 'ts/utils/configs';
import { constants } from 'ts/utils/constants';
@@ -79,6 +79,7 @@ export class LedgerConfigDialog extends React.Component<LedgerConfigDialogProps,
);
}
private _renderConnectStep() {
+ const networkIds = _.values(constants.NETWORK_ID_BY_NAME);
return (
<div>
<div className="h4 pt3">Follow these instructions before proceeding:</div>
@@ -97,11 +98,7 @@ export class LedgerConfigDialog extends React.Component<LedgerConfigDialogProps,
<NetworkDropDown
updateSelectedNetwork={this._onSelectedNetworkUpdated.bind(this)}
selectedNetworkId={this.state.preferredNetworkId}
- avialableNetworkIds={[
- constants.NETWORK_ID_BY_NAME[Networks.mainnet],
- constants.NETWORK_ID_BY_NAME[Networks.kovan],
- constants.NETWORK_ID_BY_NAME[Networks.ropsten],
- ]}
+ avialableNetworkIds={networkIds}
/>
</div>
<div className="center pb3">