Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kirksgithub committed Oct 16, 2023
1 parent 1c15f3c commit fac3f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/DepositTokensButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const DepositTokensButton = ({
? undefined
: depositAmount.shiftedBy(-mintInfo.decimals).toNumber()

const [amount, setAmount] = useState((humanReadableMax && humanReadableMax?.toString() && parseInt(humanReadableMax) > 0) ? humanReadableMax.toString() : '')
const [amount, setAmount] = useState((humanReadableMax && humanReadableMax?.toString() && humanReadableMax > 0) ? humanReadableMax.toString() : '')

const deposit = useDepositCallback(role)
return (
Expand Down

0 comments on commit fac3f43

Please sign in to comment.