From 5bdb2d944a08f63772497e203f47533ffb640d82 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sun, 13 Apr 2025 18:29:14 +0000 Subject: fix: Dont download html content by default in the bookmark grid. Fixes #1198 --- apps/mobile/app/dashboard/bookmarks/[slug]/info.tsx | 4 +++- apps/mobile/components/bookmarks/UpdatingBookmarkList.tsx | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'apps/mobile') diff --git a/apps/mobile/app/dashboard/bookmarks/[slug]/info.tsx b/apps/mobile/app/dashboard/bookmarks/[slug]/info.tsx index ebd3a1e2..6d02af53 100644 --- a/apps/mobile/app/dashboard/bookmarks/[slug]/info.tsx +++ b/apps/mobile/app/dashboard/bookmarks/[slug]/info.tsx @@ -147,7 +147,9 @@ const ViewBookmarkPage = () => { data: bookmark, isPending, refetch, - } = useAutoRefreshingBookmarkQuery({ bookmarkId: slug }); + } = useAutoRefreshingBookmarkQuery({ + bookmarkId: slug, + }); if (isPending) { return ; diff --git a/apps/mobile/components/bookmarks/UpdatingBookmarkList.tsx b/apps/mobile/components/bookmarks/UpdatingBookmarkList.tsx index 115d44c9..e627ee16 100644 --- a/apps/mobile/components/bookmarks/UpdatingBookmarkList.tsx +++ b/apps/mobile/components/bookmarks/UpdatingBookmarkList.tsx @@ -11,7 +11,7 @@ export default function UpdatingBookmarkList({ query, header, }: { - query: Omit; // Sort order is not supported in mobile yet + query: Omit; // Sort order is not supported in mobile yet header?: React.ReactElement; }) { const apiUtils = api.useUtils(); @@ -24,7 +24,7 @@ export default function UpdatingBookmarkList({ isFetchingNextPage, refetch, } = api.bookmarks.getBookmarks.useInfiniteQuery( - { ...query, useCursorV2: true }, + { ...query, useCursorV2: true, includeContent: false }, { initialCursor: null, getNextPageParam: (lastPage) => lastPage.nextCursor, -- cgit v1.2.3-70-g09d2