From 18f8ad433d370fca9c3a1443773f9f3a88bc0e36 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Wed, 5 Oct 2022 13:12:28 -0500 Subject: [PATCH] Hide sort and query options when searching --- web/components/contract-search.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/components/contract-search.tsx b/web/components/contract-search.tsx index ce1c67c9..78eacd36 100644 --- a/web/components/contract-search.tsx +++ b/web/components/contract-search.tsx @@ -446,7 +446,7 @@ function ContractSearchControls(props: { className="input input-bordered w-full" autoFocus={autoFocus} /> - {!isMobile && ( + {!isMobile && !query && ( )} - {isMobile && ( + {isMobile && !query && ( <>