Skip to content

Commit

Permalink
fix: number is now already a number
Browse files Browse the repository at this point in the history
  • Loading branch information
chadoh committed Jul 3, 2024
1 parent 1b1c714 commit 02e8bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/useSubscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 02e8bd5

Please sign in to comment.