From 015a99ade610eb2b0181acd800c4818f967fdde0 Mon Sep 17 00:00:00 2001 From: mtni Date: Fri, 8 Mar 2024 14:25:43 +0100 Subject: [PATCH] ... --- src/components/_modal/pages/addLibrary/AddLibrary.page.js | 2 +- src/components/_modal/pages/login/Login.js | 2 +- src/components/_modal/pages/mobileLogin/MobileLogin.js | 2 +- src/components/_modal/pages/pickup/Pickup.page.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/_modal/pages/addLibrary/AddLibrary.page.js b/src/components/_modal/pages/addLibrary/AddLibrary.page.js index e4cfd9e39..17587e476 100644 --- a/src/components/_modal/pages/addLibrary/AddLibrary.page.js +++ b/src/components/_modal/pages/addLibrary/AddLibrary.page.js @@ -194,7 +194,7 @@ export default function Wrap(props) { const [query, setQuery] = useState(""); const { data, isLoading } = useData( - libraryFragments.search({ q: query || "", agencyTypes, limit: 20 }) + libraryFragments.search({ q: query || "", agencyTypes, limit: 50 }) ); const dummyData = { diff --git a/src/components/_modal/pages/login/Login.js b/src/components/_modal/pages/login/Login.js index 05bd31577..d5d04f427 100644 --- a/src/components/_modal/pages/login/Login.js +++ b/src/components/_modal/pages/login/Login.js @@ -159,7 +159,7 @@ export default function Wrap(props) { const [query, setQuery] = useState(""); const { data, isLoading } = useData( - libraryFragments.search({ q: query || "" }) + libraryFragments.search({ q: query || "", limit: 50 }) ); const dummyData = { diff --git a/src/components/_modal/pages/mobileLogin/MobileLogin.js b/src/components/_modal/pages/mobileLogin/MobileLogin.js index 3ef8c9dbb..5d4f9ceaf 100644 --- a/src/components/_modal/pages/mobileLogin/MobileLogin.js +++ b/src/components/_modal/pages/mobileLogin/MobileLogin.js @@ -23,7 +23,7 @@ export default function MobileLogin({ context }) { const [query, setQuery] = useState(""); const { data, isLoading } = useData( - libraryFragments.search({ q: query || "" }) + libraryFragments.search({ q: query || "", limit: 50 }) ); const includeArrows = !!query; diff --git a/src/components/_modal/pages/pickup/Pickup.page.js b/src/components/_modal/pages/pickup/Pickup.page.js index 28a394219..d51717f39 100644 --- a/src/components/_modal/pages/pickup/Pickup.page.js +++ b/src/components/_modal/pages/pickup/Pickup.page.js @@ -140,7 +140,7 @@ export default function Wrap(props) { const { updateLoanerInfo } = useLoanerInfo(); const { data, isLoading } = useData( - libraryFragments.search({ q: query || "" }) + libraryFragments.search({ q: query || "", limit: 50 }) ); const dummyData = {