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