From 158f42a39b962850d8ecd18a3413f0efdb4f09fb Mon Sep 17 00:00:00 2001 From: Dmitry Lobachevsky Date: Tue, 17 Dec 2024 13:25:04 +0100 Subject: [PATCH] fix(MTA Burn): burn transaction config dependencies --- .../BurnForm/components/InputStep/components/SubmitButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/lts/burn/src/components/BurnForm/components/InputStep/components/SubmitButton.tsx b/libs/lts/burn/src/components/BurnForm/components/InputStep/components/SubmitButton.tsx index 2ac4cb16..747516da 100644 --- a/libs/lts/burn/src/components/BurnForm/components/InputStep/components/SubmitButton.tsx +++ b/libs/lts/burn/src/components/BurnForm/components/InputStep/components/SubmitButton.tsx @@ -55,7 +55,7 @@ export const SubmitButton = ({ disabled }: SubmitButtonProps) => { chainId: l2Comptroller.chainId, }), }), - [chain?.id, isError, mta.amount.exact, walletAddress], + [chain?.id, isError, mta.amount.exact, needsApproval, walletAddress], ); const { data: submitConfig } = usePrepareContractWrite(config);