Skip to content

Commit

Permalink
Merge pull request #312 from mstable/fix/burn-transaction-config-deps
Browse files Browse the repository at this point in the history
fix(MTA Burn): burn transaction config dependencies
  • Loading branch information
dimlbc authored Dec 17, 2024
2 parents 932ccbe + 158f42a commit 746da80
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 746da80

Please sign in to comment.