diff --git a/src/views/Layout.jsx b/src/views/Layout.jsx index e9dae11..b559bbe 100644 --- a/src/views/Layout.jsx +++ b/src/views/Layout.jsx @@ -2,7 +2,6 @@ import { Outlet } from 'react-router-dom'; import './Layout.css'; import { auth } from '../api/config.js'; -import { useAuth, SignInButton, SignOutButton } from '../api/useAuth.jsx'; /** * TODO: The links defined in this file don't work! @@ -13,20 +12,11 @@ import { useAuth, SignInButton, SignOutButton } from '../api/useAuth.jsx'; */ export function Layout() { - const { user } = useAuth(); return ( <>

Smart shopping list

- {!!user ? ( -
- Signed in as {auth.currentUser.displayName} ( - ) -
- ) : ( - - )}