diff --git a/components/DepositTokensButton.tsx b/components/DepositTokensButton.tsx index bf0f45ac95..d2c91386e6 100644 --- a/components/DepositTokensButton.tsx +++ b/components/DepositTokensButton.tsx @@ -89,7 +89,7 @@ export const DepositTokensButton = ({ await deposit(nativeAmount) setOpenModal(false) }} - disabled={(humanReadableMax && parseInt(amount) > humanReadableMax)} + disabled={humanReadableMax !== undefined && parseInt(amount) > humanReadableMax} > Confirm