Skip to content

Commit

Permalink
chore: move swap data-test-id
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-watters committed Mar 8, 2024
1 parent 590014f commit c128ca6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/app/pages/swap/swap-choose-asset/swap-choose-asset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export function SwapChooseAsset() {

return (
<Dialog
data-testid={SwapSelectors.ChooseAssetList}
isShowing
onClose={() => navigate(RouteUrls.Swap)}
header={
Expand All @@ -40,7 +39,10 @@ export function SwapChooseAsset() {
/>
}
>
<SwapAssetList assets={isFromList ? swappableAssetsFrom : swappableAssetsTo} />
<SwapAssetList
data-testid={SwapSelectors.ChooseAssetList}
assets={isFromList ? swappableAssetsFrom : swappableAssetsTo}
/>
</Dialog>
);
}

0 comments on commit c128ca6

Please sign in to comment.