Skip to content

Commit bea9c01

Browse files
committed
fix: replace data-testid attributes with props
1 parent 876bca2 commit bea9c01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/design-system/profile-dropdown/accounts/profile-dropdown-account-item.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const AccountItem = ({
6363
justifyContent="space-between"
6464
gap="$8"
6565
className={cx.root}
66-
data-testid="wallet-account-item"
66+
testId="wallet-account-item"
6767
>
6868
<div
6969
style={{ display: 'contents' }}

src/design-system/profile-dropdown/accounts/profile-dropdown-accounts-list.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const AccountsList = ({
3535
const hasMultipleUnlockedAccounts =
3636
accounts.filter(a => a.isUnlocked).length > 1;
3737
return (
38-
<Flex gap="$16" flexDirection="column" data-testid="wallet-accounts-list">
38+
<Flex gap="$16" flexDirection="column" testId="wallet-accounts-list">
3939
{accounts.map(a => (
4040
<AccountItem
4141
key={a.accountNumber}

0 commit comments

Comments
 (0)