From 74e5a987a1576f2eb0b47cc9c1de99d4e7364b59 Mon Sep 17 00:00:00 2001 From: Jeremiah Fallin Date: Sat, 3 Feb 2024 00:07:00 -0800 Subject: [PATCH] Update Layout.jsx --- src/views/Layout.jsx | 10 ---------- 1 file changed, 10 deletions(-) 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} ( - ) -
- ) : ( - - )}