Commit f3f3894
committed
fix: add type guards for lastPage and lastPageParam in useLiveInfiniteQuery
Ensures lastPage and lastPageParam are defined before passing to getNextPageParam to satisfy TypeScript strict checks.1 parent 81e8cbd commit f3f3894
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
141 | 144 | | |
142 | 145 | | |
143 | 146 | | |
| |||
0 commit comments