From d3d472f5d2d47931eb43a1de463ac9a2d2d1ae28 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Fri, 22 Jul 2022 14:50:29 -0500 Subject: [PATCH] Hide "Your bets" when signed out. "For you" becomes "Featured" when signed out. --- web/components/contract-search.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/web/components/contract-search.tsx b/web/components/contract-search.tsx index fca1b272..383aa99c 100644 --- a/web/components/contract-search.tsx +++ b/web/components/contract-search.tsx @@ -238,16 +238,18 @@ export function ContractSearch(props: { selected={pillFilter === 'personal'} onSelect={selectFilter('personal')} > - For you + {user ? 'For you' : 'Featured' } - - Your bets - + {user && ( + + Your bets + + )} {pillGroups.map(({ name, slug }) => { return (