aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2024-12-22 16:17:22 +0000
committerMohamed Bassem <me@mbassem.com>2024-12-22 23:38:38 +0000
commit353e5d6374c77a2744590a5bfd3329672009b281 (patch)
tree5a64f13ddc930fbcf699101248b35f72cda6fc6b /apps/web/components/dashboard
parent71d7490d0a647e9254bf15b38201177057d88f95 (diff)
downloadkarakeep-353e5d6374c77a2744590a5bfd3329672009b281.tar.zst
feat: Add basic pagination to searchBookmarks tRPC
Diffstat (limited to 'apps/web/components/dashboard')
-rw-r--r--apps/web/components/dashboard/bookmarks/UpdatableBookmarksGrid.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/components/dashboard/bookmarks/UpdatableBookmarksGrid.tsx b/apps/web/components/dashboard/bookmarks/UpdatableBookmarksGrid.tsx
index bc6cd6db..d18eeb1b 100644
--- a/apps/web/components/dashboard/bookmarks/UpdatableBookmarksGrid.tsx
+++ b/apps/web/components/dashboard/bookmarks/UpdatableBookmarksGrid.tsx
@@ -38,7 +38,7 @@ export default function UpdatableBookmarksGrid({
<BookmarksGrid
bookmarks={data!.pages.flatMap((b) => b.bookmarks)}
hasNextPage={hasNextPage}
- fetchNextPage={() => fetchNextPage()}
+ fetchNextPage={fetchNextPage}
isFetchingNextPage={isFetchingNextPage}
showEditorCard={showEditorCard}
/>