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

Commit

Permalink
Add class and id for easy e2e (#1922)
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin authored Nov 26, 2021
1 parent de6e1fa commit 37518ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function CurrencyRow({
return (
<MenuItem
style={style}
className={`token-item-${key}`}
className={`token-item token-item-${key}`}
onClick={() => (isSelected ? null : onSelect())}
disabled={isSelected}
selected={otherSelected}
Expand Down
2 changes: 1 addition & 1 deletion src/custom/components/SearchModal/CurrencyList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export default function CurrencyList(
): ReturnType<typeof CurrencyListMod> {
const [params] = paramsList
return (
<Wrapper>
<Wrapper id="currency-list">
<CurrencyListMod {...params} BalanceComponent={Balance} TokenTagsComponent={TokenTags} />
</Wrapper>
)
Expand Down

0 comments on commit 37518ff

Please sign in to comment.