Hide "Your bets" when signed out. "For you" becomes "Featured" when signed out.

This commit is contained in:
James Grugett 2022-07-22 14:50:29 -05:00
parent 6fb9849007
commit d3d472f5d2

View File

@ -238,16 +238,18 @@ export function ContractSearch(props: {
selected={pillFilter === 'personal'}
onSelect={selectFilter('personal')}
>
For you
{user ? 'For you' : 'Featured' }
</PillButton>
<PillButton
key={'your-bets'}
selected={pillFilter === 'your-bets'}
onSelect={selectFilter('your-bets')}
>
Your bets
</PillButton>
{user && (
<PillButton
key={'your-bets'}
selected={pillFilter === 'your-bets'}
onSelect={selectFilter('your-bets')}
>
Your bets
</PillButton>
)}
{pillGroups.map(({ name, slug }) => {
return (