From a1c1f6f74d0901377f33ad975892cd34762d92c2 Mon Sep 17 00:00:00 2001 From: Brent Date: Wed, 15 Dec 2021 15:53:05 -0500 Subject: [PATCH] Default ledger selected index --- .../ui/src/components/LedgerDevice/LedgerHardwareConnector.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/components/LedgerDevice/LedgerHardwareConnector.ts b/packages/ui/src/components/LedgerDevice/LedgerHardwareConnector.ts index 9fdeacfb..8e14aa14 100644 --- a/packages/ui/src/components/LedgerDevice/LedgerHardwareConnector.ts +++ b/packages/ui/src/components/LedgerDevice/LedgerHardwareConnector.ts @@ -20,7 +20,7 @@ const LedgerHardwareConnector: FunctionalComponent = (props: any) => { const [accounts, setAccounts] = useState>([ { ledgerIndex: '-1', publicKey: 'Select...' }, ]); - const [selectedAccount, setSelectedAccount] = useState('-1'); + const [selectedAccount, setSelectedAccount] = useState('0'); const handleAccountChange = async (e) => { setSelectedAccount(e.target.value);