Skip to content

Commit

Permalink
Fixed advanced market opening for anon users
Browse files Browse the repository at this point in the history
  • Loading branch information
dkildar committed Dec 29, 2024
1 parent ee3ccc6 commit 264b727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/queries/get-transactions-query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@ export const getTransactionsQuery = (
initialData: { pages: [], pageParams: [] },
initialPageParam: -1,
getNextPageParam: (lastPage, __) =>
lastPage ? (lastPage[lastPage.length - 1].num ?? 0) - 1 : -1
lastPage ? (lastPage[lastPage.length - 1]?.num ?? 0) - 1 : -1
});

0 comments on commit 264b727

Please sign in to comment.