We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26b9ef2 commit f9dded6Copy full SHA for f9dded6
frontend/src/routes/_layout/admin.tsx
@@ -46,7 +46,7 @@ function UsersTable() {
46
47
const setPage = (page: number) =>
48
navigate({
49
- search: (prev) => ({ ...prev, page: String(page) })
+ search: { page: String(page) }
50
})
51
52
const users = data?.data.slice(0, PER_PAGE) ?? []
frontend/src/routes/_layout/items.tsx
@@ -52,9 +52,8 @@ function ItemsTable() {
53
54
55
56
57
-
58
const items = data?.data.slice(0, PER_PAGE) ?? []
59
const count = data?.count ?? 0
60
0 commit comments