From 8ab03ea8c933a61d784c98b8e96a06f937bf2429 Mon Sep 17 00:00:00 2001 From: Gonzalo D'Elia Date: Mon, 16 Dec 2024 13:23:43 -0300 Subject: [PATCH] Fix incorrrect display of btc fees on deposit --- .../tunnel/_components/reviewOperation/reviewBtcDeposit.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/app/[locale]/tunnel/_components/reviewOperation/reviewBtcDeposit.tsx b/webapp/app/[locale]/tunnel/_components/reviewOperation/reviewBtcDeposit.tsx index 7dd1cfc1..3f766b15 100644 --- a/webapp/app/[locale]/tunnel/_components/reviewOperation/reviewBtcDeposit.tsx +++ b/webapp/app/[locale]/tunnel/_components/reviewOperation/reviewBtcDeposit.tsx @@ -7,7 +7,7 @@ import { useContext } from 'react' import Skeleton from 'react-loading-skeleton' import { type BtcToken } from 'types/token' import { type BtcDepositOperation, BtcDepositStatus } from 'types/tunnel' -import { formatGasFees, getFormattedValue } from 'utils/format' +import { formatGasFees } from 'utils/format' import { useAccount } from 'wagmi' import { @@ -96,7 +96,7 @@ const ReviewContent = function ({ BtcDepositStatus.DEPOSIT_TX_FAILED, ].includes(depositStatus) && feePrices?.fastestFee ? { - amount: getFormattedValue(feePrices?.fastestFee?.toString()), + amount: feePrices?.fastestFee?.toString(), symbol: 'sat/vB', } : undefined,