Fix key error on choose account
parent
19fab671a3
commit
0dbc796ff6
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue