From c2bd6d6b33dc24c4321228add4fedfade93eb014 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sun, 17 Mar 2024 10:15:01 +0000
Subject: refactor: Prepare for pagination by dropping querying bookmarks by id

---
 apps/mobile/app/dashboard/(tabs)/search.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'apps/mobile/app/dashboard/(tabs)/search.tsx')

diff --git a/apps/mobile/app/dashboard/(tabs)/search.tsx b/apps/mobile/app/dashboard/(tabs)/search.tsx
index 76e9aef9..25fc53d5 100644
--- a/apps/mobile/app/dashboard/(tabs)/search.tsx
+++ b/apps/mobile/app/dashboard/(tabs)/search.tsx
@@ -21,7 +21,7 @@ export default function Search() {
     <SafeAreaView>
       {data && (
         <BookmarkList
-          ids={data.bookmarks.map((b) => b.id)}
+          query={{ids: data.bookmarks.map((b) => b.id)}}
           header={
             <View>
               <PageTitle title="Search" />
-- 
cgit v1.2.3-70-g09d2

