From e3f4a99263641b0936f4ff98464564b9ed6332cc Mon Sep 17 00:00:00 2001 From: mantikoros Date: Wed, 15 Dec 2021 12:55:00 -0600 Subject: [PATCH] header: hide markets for nonsigned in users --- web/components/header.tsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/web/components/header.tsx b/web/components/header.tsx index ab33a75a..93abb7c0 100644 --- a/web/components/header.tsx +++ b/web/components/header.tsx @@ -1,18 +1,15 @@ import { useEffect, useState } from 'react' import clsx from 'clsx' -import Image from 'next/image' import Link from 'next/link' import { Popover } from '@headlessui/react' import { useUser } from '../hooks/use-user' -import { firebaseLogin } from '../lib/firebase/users' const navigation = [ { name: 'About', href: 'https://mantic.notion.site/About-Mantic-Markets-7c44bc161356474cad54cba2d2973fe2', }, - // { name: 'Simulator', href: '/simulator' }, ] function SignInLink(props: { darkBackground?: boolean }) { @@ -40,7 +37,7 @@ function SignInLink(props: { darkBackground?: boolean }) { - ) : ( + ) : <> /*( <> @@ -54,8 +51,8 @@ function SignInLink(props: { darkBackground?: boolean }) { > Sign in - - )} + */ + } ) }