From 95cf72bf253433e096292f3632042f440dacfb91 Mon Sep 17 00:00:00 2001 From: Myroslav Sviderok Date: Mon, 16 Dec 2024 10:28:36 +0200 Subject: [PATCH] remove available section from withdraw details --- src/earn/EarnEnterAmount.test.tsx | 7 ------- src/earn/EarnEnterAmount.tsx | 25 ------------------------- 2 files changed, 32 deletions(-) diff --git a/src/earn/EarnEnterAmount.test.tsx b/src/earn/EarnEnterAmount.test.tsx index 812e21a75d5..73f720ccd30 100644 --- a/src/earn/EarnEnterAmount.test.tsx +++ b/src/earn/EarnEnterAmount.test.tsx @@ -501,13 +501,6 @@ describe('EarnEnterAmount', () => { await waitFor(() => expect(getByText('earnFlow.enterAmount.continue')).not.toBeDisabled()) - expect(getByTestId('EarnEnterAmount/Withdraw/Crypto')).toBeTruthy() - expect(getByTestId('EarnEnterAmount/Withdraw/Crypto')).toHaveTextContent('11.00 USDC') - - expect(getByTestId('EarnEnterAmount/Withdraw/Fiat')).toBeTruthy() - expect(getByTestId('EarnEnterAmount/Withdraw/Fiat')).toBeTruthy() - expect(getByTestId('EarnEnterAmount/Withdraw/Fiat')).toHaveTextContent('₱14.63') - expect(getByTestId('EarnEnterAmount/Fees')).toBeTruthy() expect(getByTestId('EarnEnterAmount/Fees')).toHaveTextContent('₱0.012') diff --git a/src/earn/EarnEnterAmount.tsx b/src/earn/EarnEnterAmount.tsx index 8b4226926b7..134463af1e0 100644 --- a/src/earn/EarnEnterAmount.tsx +++ b/src/earn/EarnEnterAmount.tsx @@ -529,31 +529,6 @@ function TransactionWithdrawDetails({ return ( - - - - - - {'('} - - {')'} - - - {pool.dataProps.withdrawalIncludesClaim && rewardsPositions.map((position, index) => (