Skip to content

Commit 02e8bd5

Browse files
committed
fix: number is now already a number
1 parent 1b1c714 commit 02e8bd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks/useSubscription.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export function useSubscription(
6464

6565
paging[id].pagingToken = undefined
6666
if (response.latestLedger) {
67-
paging[id].lastLedgerStart = parseInt(response.latestLedger)
67+
paging[id].lastLedgerStart = response.latestLedger
6868
}
6969
response.events &&
7070
response.events.forEach(event => {

0 commit comments

Comments
 (0)