aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-01-29 19:46:07 +0800
committerFabio Berger <me@fabioberger.com>2018-01-29 19:46:07 +0800
commit63ffa80c5cde2b289043ad58aec6bc2fe4d72993 (patch)
treeb6cdaa17b2145bbbc88aff4eacd947a082475ed5 /packages/website/ts
parent609342be7af3a33ca354bbf9385b1fa187b872d0 (diff)
downloaddexon-sol-tools-63ffa80c5cde2b289043ad58aec6bc2fe4d72993.tar
dexon-sol-tools-63ffa80c5cde2b289043ad58aec6bc2fe4d72993.tar.gz
dexon-sol-tools-63ffa80c5cde2b289043ad58aec6bc2fe4d72993.tar.bz2
dexon-sol-tools-63ffa80c5cde2b289043ad58aec6bc2fe4d72993.tar.lz
dexon-sol-tools-63ffa80c5cde2b289043ad58aec6bc2fe4d72993.tar.xz
dexon-sol-tools-63ffa80c5cde2b289043ad58aec6bc2fe4d72993.tar.zst
dexon-sol-tools-63ffa80c5cde2b289043ad58aec6bc2fe4d72993.zip
Re-set Ledger config dialog to connect step if dialog is closed
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/components/dialogs/ledger_config_dialog.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/website/ts/components/dialogs/ledger_config_dialog.tsx b/packages/website/ts/components/dialogs/ledger_config_dialog.tsx
index 66b04f198..7dc1e2620 100644
--- a/packages/website/ts/components/dialogs/ledger_config_dialog.tsx
+++ b/packages/website/ts/components/dialogs/ledger_config_dialog.tsx
@@ -186,6 +186,7 @@ export class LedgerConfigDialog extends React.Component<LedgerConfigDialogProps,
private _onClose() {
this.setState({
connectionErrMsg: '',
+ stepIndex: LedgerSteps.CONNECT,
});
const isOpen = false;
this.props.toggleDialogFn(isOpen);