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"
|
className="input input-bordered w-full"
|
||||||
autoFocus={autoFocus}
|
autoFocus={autoFocus}
|
||||||
/>
|
/>
|
||||||
{!isMobile && (
|
{!isMobile && !query && (
|
||||||
<SearchFilters
|
<SearchFilters
|
||||||
filter={filter}
|
filter={filter}
|
||||||
selectFilter={selectFilter}
|
selectFilter={selectFilter}
|
||||||
|
@ -457,7 +457,7 @@ function ContractSearchControls(props: {
|
||||||
includeProbSorts={includeProbSorts}
|
includeProbSorts={includeProbSorts}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{isMobile && (
|
{isMobile && !query && (
|
||||||
<>
|
<>
|
||||||
<MobileSearchBar
|
<MobileSearchBar
|
||||||
children={
|
children={
|
||||||
|
|
Loading…
Reference in New Issue
Block a user