From 3a01e4efb8e72bd166e3496ed8fb0cd2bf1a05ef Mon Sep 17 00:00:00 2001 From: mitra Date: Wed, 22 May 2024 19:36:37 +0800 Subject: [PATCH] fix: :bug: remove the cryptocurrencies subheader --- .../currency-selector/__tests__/currency-selector.spec.tsx | 2 -- .../src/Components/currency-selector/currency-selector.tsx | 1 - 2 files changed, 3 deletions(-) diff --git a/packages/account/src/Components/currency-selector/__tests__/currency-selector.spec.tsx b/packages/account/src/Components/currency-selector/__tests__/currency-selector.spec.tsx index 916011929624..0ea769e81b4d 100644 --- a/packages/account/src/Components/currency-selector/__tests__/currency-selector.spec.tsx +++ b/packages/account/src/Components/currency-selector/__tests__/currency-selector.spec.tsx @@ -34,7 +34,6 @@ describe('', () => { 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(); @@ -348,7 +347,6 @@ describe('', () => { 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(); diff --git a/packages/account/src/Components/currency-selector/currency-selector.tsx b/packages/account/src/Components/currency-selector/currency-selector.tsx index 7421f7fb00b4..5e201e057ecc 100644 --- a/packages/account/src/Components/currency-selector/currency-selector.tsx +++ b/packages/account/src/Components/currency-selector/currency-selector.tsx @@ -218,7 +218,6 @@ const CurrencySelector = observer(