From c2014de4e2b8bbb067adf5728e8351f58d03c11f Mon Sep 17 00:00:00 2001 From: Jason Morgan Date: Tue, 2 Jul 2024 16:58:44 -0700 Subject: [PATCH] added username to navbar --- client/src/components/Navbar.tsx | 5 +++++ client/tailwind.config.js | 3 +++ 2 files changed, 8 insertions(+) diff --git a/client/src/components/Navbar.tsx b/client/src/components/Navbar.tsx index 9672128..2ef0084 100644 --- a/client/src/components/Navbar.tsx +++ b/client/src/components/Navbar.tsx @@ -7,6 +7,7 @@ import { useAuth } from '../context/AuthContext'; const Navbar: React.FC = () => { const [isOpen, setIsOpen] = useState(false); + const { user, isAuthenticated } = useAuth0(); return (