From 23e3aa0633a7366e1d4fe209ce8b68da95ad0de7 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 24 Jul 2024 19:38:59 +0300 Subject: [PATCH] Fix claim tokens button --- src/modules/telegram/TasksPage/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/telegram/TasksPage/index.tsx b/src/modules/telegram/TasksPage/index.tsx index 193586f1c..15e9dab3d 100644 --- a/src/modules/telegram/TasksPage/index.tsx +++ b/src/modules/telegram/TasksPage/index.tsx @@ -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 + } /> )