Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #341 from PureStake/develop
Browse files Browse the repository at this point in the history
Default ledger selected index
  • Loading branch information
PureBrent authored Dec 15, 2021
2 parents c022f72 + 6500b5d commit 735de19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const LedgerHardwareConnector: FunctionalComponent = (props: any) => {
const [accounts, setAccounts] = useState<Array<object>>([
{ ledgerIndex: '-1', publicKey: 'Select...' },
]);
const [selectedAccount, setSelectedAccount] = useState<string>('-1');
const [selectedAccount, setSelectedAccount] = useState<string>('0');

const handleAccountChange = async (e) => {
setSelectedAccount(e.target.value);
Expand Down

0 comments on commit 735de19

Please sign in to comment.