From 0013f76873e958ea01a7b5beb657553f8ecc5d2f Mon Sep 17 00:00:00 2001 From: mantikoros Date: Wed, 20 Jul 2022 00:03:03 -0500 Subject: [PATCH] search defaults to 'for you'; hide pills for additional filters --- 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 fbbb9fe9..95075986 100644 --- a/web/components/contract-search.tsx +++ b/web/components/contract-search.tsx @@ -99,7 +99,7 @@ export function ContractSearch(props: { const [filter, setFilter] = useState( querySortOptions?.defaultFilter ?? 'open' ) - const [pillFilter, setPillFilter] = useState() + const [pillFilter, setPillFilter] = useState('personal') const { filters, numericFilters } = useMemo(() => { let filters = [ @@ -201,7 +201,7 @@ export function ContractSearch(props: { - {!additionalFilter?.creatorId && !additionalFilter?.groupSlug && ( + {!additionalFilter && (