search defaults to 'for you'; hide pills for additional filters
This commit is contained in:
parent
83e9408d69
commit
0013f76873
|
@ -99,7 +99,7 @@ export function ContractSearch(props: {
|
|||
const [filter, setFilter] = useState<filter>(
|
||||
querySortOptions?.defaultFilter ?? 'open'
|
||||
)
|
||||
const [pillFilter, setPillFilter] = useState<string | undefined>()
|
||||
const [pillFilter, setPillFilter] = useState<string | undefined>('personal')
|
||||
|
||||
const { filters, numericFilters } = useMemo(() => {
|
||||
let filters = [
|
||||
|
@ -201,7 +201,7 @@ export function ContractSearch(props: {
|
|||
|
||||
<Spacer h={3} />
|
||||
|
||||
{!additionalFilter?.creatorId && !additionalFilter?.groupSlug && (
|
||||
{!additionalFilter && (
|
||||
<Row className="scrollbar-hide items-start gap-2 overflow-x-auto">
|
||||
<PillButton
|
||||
key={'all'}
|
||||
|
|
Loading…
Reference in New Issue
Block a user