From 12d6e50ad63eb9fe3128bb18437998a66871fdd8 Mon Sep 17 00:00:00 2001 From: kyranjamie Date: Tue, 17 Dec 2024 23:45:20 +0100 Subject: [PATCH] fix(ledger): increase fee --- .../increase-btc-fee-dialog.tsx | 89 ++++++++++--------- 1 file changed, 46 insertions(+), 43 deletions(-) diff --git a/src/app/features/dialogs/transaction-action-dialog/increase-btc-fee-dialog.tsx b/src/app/features/dialogs/transaction-action-dialog/increase-btc-fee-dialog.tsx index b1ca91bd96..f44c20d531 100644 --- a/src/app/features/dialogs/transaction-action-dialog/increase-btc-fee-dialog.tsx +++ b/src/app/features/dialogs/transaction-action-dialog/increase-btc-fee-dialog.tsx @@ -59,51 +59,54 @@ export function IncreaseBtcFeeSheet() { validateOnMount={false} validationSchema={validationSchema} > - <> - } - footer={ - navigate(RouteUrls.Home)} - /> - } - > - - - - - } - > - - If your transaction is pending for a long time, its fee might not be high enough - to be included in a block. Update the fee for a higher value and try again. - - - {btcTx && } - - - - + {({ submitForm }) => ( + <> + } + footer={ + navigate(RouteUrls.Home)} + /> + } + > + + + + + } + > + + If your transaction is pending for a long time, its fee might not be high enough + to be included in a block. Update the fee for a higher value and try again. + + + {btcTx && } + + + + - {balance && Balance: {btcBalance}} + {balance && Balance: {btcBalance}} + - - - - - - + + + + + + )} );