Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix: remove incorrect array destructuring in mobile search (#2124)

Mohamed Bassem07390aeff9fb
diff --git a/apps/mobile/app/dashboard/search.tsx b/apps/mobile/app/dashboard/search.tsx
index 5fababc3..ab89ce8d 100644
--- a/apps/mobile/app/dashboard/search.tsx
+++ b/apps/mobile/app/dashboard/search.tsx
@@ -19,7 +19,7 @@ const MAX_DISPLAY_SUGGESTIONS = 5;
export default function Search() {
const [search, setSearch] = useState("");
- const [query] = useDebounce(search, 10);
+ const query = useDebounce(search, 10);
const inputRef = useRef<TextInput>(null);
const [isInputFocused, setIsInputFocused] = useState(true);