We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 637377c + 2ac4c4b commit 9cced64Copy full SHA for 9cced64
1 file changed
components/WrapperForm.tsx
@@ -56,7 +56,7 @@ const WrapperForm: React.FC<WrapperFormProps> = ({ action }) => {
56
const { writeWithdraw } = useWithdraw(watch('amount'));
57
58
const handleSetMax: any = (): void => {
59
- const eth = +ethBalance;
+ const eth = +ethBalance - +txFeeEther;
60
const weth = +wethBalance;
61
setValue(
62
'amount',
0 commit comments