Skip to content

Commit

Permalink
Fix claim tokens button
Browse files Browse the repository at this point in the history
  • Loading branch information
samchuk-vlad committed Jul 24, 2024
1 parent 8c91a2e commit 23e3aa0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/telegram/TasksPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@ function InviteFriendsTasks() {
modalVariant={modalVariant}
close={() => setModalVariant(null)}
data={data || []}
disableButton={aim && refCount ? refCount < aim : undefined}
disableButton={
aim && refCount !== undefined ? refCount < aim : undefined
}
/>
</div>
)
Expand Down

0 comments on commit 23e3aa0

Please sign in to comment.