From 78413f37332415f4bae60ec464e943e4ca6a6069 Mon Sep 17 00:00:00 2001 From: Chennara Nhes Date: Mon, 11 Dec 2023 13:15:15 +0100 Subject: [PATCH] fix: fix iOS crash in search view --- src/shop/search/Search.tsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/shop/search/Search.tsx b/src/shop/search/Search.tsx index 487a814b..7a0b56a1 100644 --- a/src/shop/search/Search.tsx +++ b/src/shop/search/Search.tsx @@ -135,15 +135,19 @@ export const Search = ({ navigation, route }: TProps) => { ) : ( <> onSearch(user.address.city)}> - - {user.address.city} + <> + + {user.address.city} + {SEARCH_TERMS.map(({ keyword, label }) => ( <> onSearch(keyword)}> - - {t(label)} + <> + + {t(label)} +