Fix key error on choose account

zio/stable
Eric Bailey 2024-03-20 17:41:17 -05:00
parent 19fab671a3
commit 0dbc796ff6
1 changed files with 2 additions and 3 deletions

View File

@ -133,15 +133,14 @@ export const ChooseAccountForm = ({
t.atoms.border_contrast_low, t.atoms.border_contrast_low,
]}> ]}>
{accounts.map(account => ( {accounts.map(account => (
<> <React.Fragment key={account.did}>
<AccountItem <AccountItem
key={account.did}
account={account} account={account}
onSelect={onSelect} onSelect={onSelect}
isCurrentAccount={account.did === currentAccount?.did} isCurrentAccount={account.did === currentAccount?.did}
/> />
<View style={[a.border_b, t.atoms.border_contrast_low]} /> <View style={[a.border_b, t.atoms.border_contrast_low]} />
</> </React.Fragment>
))} ))}
<Button <Button
testID="chooseNewAccountBtn" testID="chooseNewAccountBtn"