diff options
Diffstat (limited to 'apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx')
| -rw-r--r-- | apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx b/apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx index 048dab85..bace3435 100644 --- a/apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx +++ b/apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo } from "react"; import { ActionButton } from "@/components/ui/action-button"; import tailwindConfig from "@/tailwind.config"; @@ -78,15 +76,16 @@ export default function BookmarksGrid({ {bookmarks.map((b) => renderBookmark(b))} </Masonry> {hasNextPage && ( - <ActionButton - ignoreDemoMode={true} - loading={isFetchingNextPage} - onClick={() => fetchNextPage()} - className="mx-auto w-min" - variant="ghost" - > - Load More - </ActionButton> + <div className="flex justify-center"> + <ActionButton + ignoreDemoMode={true} + loading={isFetchingNextPage} + onClick={() => fetchNextPage()} + variant="ghost" + > + Load More + </ActionButton> + </div> )} </> ); |
