Skip to content

Commit

Permalink
fix: 🐛 remove the cryptocurrencies subheader
Browse files Browse the repository at this point in the history
  • Loading branch information
mitra-deriv committed May 22, 2024
1 parent 6caa9ed commit 3a01e4e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ describe('<CurrencySelector/>', () => {
expect(screen.getByRole('radio', { name: /us dollar \(usd\)/i })).toBeInTheDocument();
expect(screen.getByRole('radio', { name: /euro \(eur\)/i })).toBeInTheDocument();

expect(screen.getByRole('heading', { name: /cryptocurrencies/i })).toBeInTheDocument();
expect(screen.getByRole('radio', { name: /tether erc20 \(eusdt\)/i })).toBeInTheDocument();
expect(screen.getByRole('radio', { name: /usd coin \(usdc\)/i })).toBeInTheDocument();

Expand Down Expand Up @@ -348,7 +347,6 @@ describe('<CurrencySelector/>', () => {
set_currency: true,
};
renderComponent({ props: new_props });
expect(screen.getByRole('heading', { name: /cryptocurrencies/i })).toBeInTheDocument();
expect(screen.getByRole('radio', { name: /tether erc20 \(eusdt\)/i })).toBeInTheDocument();
expect(screen.getByRole('radio', { name: /usd coin \(usdc\)/i })).toBeInTheDocument();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ const CurrencySelector = observer(
<React.Fragment>
<RadioButtonGroup
className='currency-selector__radio-group currency-selector__radio-group--with-margin'
label={localize('Cryptocurrencies')}
item_count={
reorderCurrencies(
crypto as keyof typeof reorderCurrencies,
Expand Down

0 comments on commit 3a01e4e

Please sign in to comment.