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'} | ||||
|             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 ( | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user