mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #470 from omnivore-app/fix/rm-signup-button
Remove the Sign Up button from the header for logged out users
This commit is contained in:
commit
00eb4aca70
1 changed files with 1 additions and 5 deletions
|
|
@ -206,7 +206,7 @@ function NavHeader(props: NavHeaderProps): JSX.Element {
|
|||
</HStack>
|
||||
)}
|
||||
|
||||
{props.username ? (
|
||||
{props.username && (
|
||||
<HStack
|
||||
alignment="center"
|
||||
css={{ display: 'flex', alignItems: 'center' }}
|
||||
|
|
@ -222,10 +222,6 @@ function NavHeader(props: NavHeaderProps): JSX.Element {
|
|||
actionHandler={props.actionHandler}
|
||||
/>
|
||||
</HStack>
|
||||
) : (
|
||||
<Link passHref href="/login">
|
||||
<Button style="ctaDarkYellow">Sign Up</Button>
|
||||
</Link>
|
||||
)}
|
||||
</HStack>
|
||||
</nav>
|
||||
|
|
|
|||
Loading…
Reference in a new issue