Skip to content

Commit

Permalink
[HOTFIX]: lock glm - use max (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikolajczyk authored Mar 4, 2024
2 parents 52b5e42 + 6d7d396 commit cd15392
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const EarnGlmLockTabs: FC<EarnGlmLockTabsProps> = ({
};

const onMax = () => {
if (isMaxDisabled || !depositsValue || !availableFundsGlm) {
if (isMaxDisabled || depositsValue === undefined || !availableFundsGlm) {
return;
}
const value =
Expand Down

0 comments on commit cd15392

Please sign in to comment.