From 02e8bd5d2700e97478e2aede4c246b5245e5b9f3 Mon Sep 17 00:00:00 2001 From: Chad Ostrowski <221614+chadoh@users.noreply.github.com> Date: Tue, 2 Jul 2024 21:25:52 -0400 Subject: [PATCH] fix: number is now already a number --- hooks/useSubscription.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/useSubscription.ts b/hooks/useSubscription.ts index a496955..506517c 100644 --- a/hooks/useSubscription.ts +++ b/hooks/useSubscription.ts @@ -64,7 +64,7 @@ export function useSubscription( paging[id].pagingToken = undefined if (response.latestLedger) { - paging[id].lastLedgerStart = parseInt(response.latestLedger) + paging[id].lastLedgerStart = response.latestLedger } response.events && response.events.forEach(event => {