From 6146ef306541d1eb604e757886a6cc91a2ec88b0 Mon Sep 17 00:00:00 2001 From: Hailey Date: Thu, 26 Sep 2024 12:37:21 -0700 Subject: [PATCH] simplify --- src/view/screens/Search/Search.tsx | 92 +++++++++++++++--------------- 1 file changed, 45 insertions(+), 47 deletions(-) diff --git a/src/view/screens/Search/Search.tsx b/src/view/screens/Search/Search.tsx index bd18dec57d..de46d18c0c 100644 --- a/src/view/screens/Search/Search.tsx +++ b/src/view/screens/Search/Search.tsx @@ -985,54 +985,52 @@ let SearchInputBox = ({ const t = useThemeNew() return ( - - - - - - + + + + + - {showAutocomplete && searchText.length > 0 && ( - - - - )} - + {showAutocomplete && searchText.length > 0 && ( + + + + )} ) }