Hide "Your bets" when signed out. "For you" becomes "Featured" when signed out.
This commit is contained in:
parent
6fb9849007
commit
d3d472f5d2
|
@ -238,16 +238,18 @@ export function ContractSearch(props: {
|
||||||
selected={pillFilter === 'personal'}
|
selected={pillFilter === 'personal'}
|
||||||
onSelect={selectFilter('personal')}
|
onSelect={selectFilter('personal')}
|
||||||
>
|
>
|
||||||
For you
|
{user ? 'For you' : 'Featured' }
|
||||||
</PillButton>
|
</PillButton>
|
||||||
|
|
||||||
<PillButton
|
{user && (
|
||||||
key={'your-bets'}
|
<PillButton
|
||||||
selected={pillFilter === 'your-bets'}
|
key={'your-bets'}
|
||||||
onSelect={selectFilter('your-bets')}
|
selected={pillFilter === 'your-bets'}
|
||||||
>
|
onSelect={selectFilter('your-bets')}
|
||||||
Your bets
|
>
|
||||||
</PillButton>
|
Your bets
|
||||||
|
</PillButton>
|
||||||
|
)}
|
||||||
|
|
||||||
{pillGroups.map(({ name, slug }) => {
|
{pillGroups.map(({ name, slug }) => {
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user