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 f9dded6 commit c4b05beCopy full SHA for c4b05be
frontend/src/routes/_layout/admin.tsx
@@ -46,7 +46,7 @@ function UsersTable() {
46
47
const setPage = (page: number) =>
48
navigate({
49
- search: { page: String(page) }
+ search: (prev) => ({ ...prev, page }),
50
})
51
52
const users = data?.data.slice(0, PER_PAGE) ?? []
frontend/src/routes/_layout/items.tsx
@@ -52,8 +52,9 @@ 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