Skip to content

Commit

Permalink
hotfix for grants
Browse files Browse the repository at this point in the history
  • Loading branch information
samelamin committed Nov 15, 2023
1 parent d885eb6 commit 85160dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/grants/new.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ const GrantApplication = (): JSX.Element => {
Currency.IMBU
);

if (Number(balance) < IMBUE_DEPOSIT_REQURED)
if (Number(balance) ?? 0 < IMBUE_DEPOSIT_REQURED)
return setError({
message: `Account has insufficient $IMBU (${IMBUE_DEPOSIT_REQURED} $IMBU) to cover the deposit fees`,
});
Expand Down

0 comments on commit 85160dd

Please sign in to comment.