Hide sort and query options when searching
This commit is contained in:
parent
37e8f2ff5a
commit
18f8ad433d
|
@ -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={
|
||||
|
|
Loading…
Reference in New Issue
Block a user