From 79261484cd635238fa8c8ef63de37718a441fa13 Mon Sep 17 00:00:00 2001 From: Anonim Date: Sat, 28 Dec 2024 02:45:42 +0300 Subject: [PATCH] useHoneyEvents.ts --- apps/honey/src/app/api/useHoneyEvents.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/honey/src/app/api/useHoneyEvents.ts b/apps/honey/src/app/api/useHoneyEvents.ts index 22fd4763f..5d01663e1 100755 --- a/apps/honey/src/app/api/useHoneyEvents.ts +++ b/apps/honey/src/app/api/useHoneyEvents.ts @@ -85,14 +85,14 @@ export const useHoneyEvents = () => { typeof burnData[burnDataSize - 1] === "undefined"); const isAllDataEmpty = allData?.[0]?.length === 0; - const isSwapDataEmpty = mintData?.[0]?.length === 0; + const isMintDataEmpty = mintData?.[0]?.length === 0; const isBurnDataEmpty = burnData?.[0]?.length === 0; const isAllDataReachingEnd = isAllDataEmpty || (allData && allData[allData.length - 1]?.length < DEFAULT_SIZE); const isMintDataReachingEnd = - isSwapDataEmpty || + isMintDataEmpty || (mintData && mintData[mintData.length - 1]?.length < DEFAULT_SIZE); const isBurnDataReachingEnd = isBurnDataEmpty ||