Hide sort and query options when searching

This commit is contained in:
James Grugett 2022-10-05 13:12:28 -05:00
parent 37e8f2ff5a
commit 18f8ad433d

View File

@ -446,7 +446,7 @@ function ContractSearchControls(props: {
className="input input-bordered w-full"
autoFocus={autoFocus}
/>
{!isMobile && (
{!isMobile && !query && (
<SearchFilters
filter={filter}
selectFilter={selectFilter}
@ -457,7 +457,7 @@ function ContractSearchControls(props: {
includeProbSorts={includeProbSorts}
/>
)}
{isMobile && (
{isMobile && !query && (
<>
<MobileSearchBar
children={