Skip to content

Commit

Permalink
fix(MTA Burn): burn transaction config dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dimlbc committed Dec 17, 2024
1 parent 932ccbe commit 158f42a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 158f42a

Please sign in to comment.