Commit c42f753
committed
fix: drop unused totalPages from usePaginatedQuery
totalPages was recomputed from total/limit, duplicating a value both
billing APIs already return deterministically, and the only caller
(UsageLogsTable) never consumed it. Removed it from the composable's
public return instead of keeping unused, potentially drifting state.1 parent 85ded15 commit c42f753
2 files changed
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 53 | | |
57 | 54 | | |
58 | 55 | | |
| |||
92 | 89 | | |
93 | 90 | | |
94 | 91 | | |
95 | | - | |
96 | 92 | | |
97 | 93 | | |
98 | 94 | | |
| |||
0 commit comments