From 41aceb78148b86a9bbed2135defcf03530dde0ac Mon Sep 17 00:00:00 2001 From: reiyua Date: Wed, 17 Jan 2024 13:16:16 +0000 Subject: [PATCH] Remove unnecessary code from Header.js --- src/components/Header.js | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/src/components/Header.js b/src/components/Header.js index 3ef6f6a..1aa1b3f 100644 --- a/src/components/Header.js +++ b/src/components/Header.js @@ -10,23 +10,7 @@ export function Header(props) { {item.label} ) }) - // component for Account - const Account = (props) => { - if (props.user) { - return ( - - - // this caused an absolute mindfuck - // - // Log out - // - ) - } - else { - return null - } - - } + return ( // create a navigation bar with the collection of navigation items, display as black bar with "ClassName" and variant" @@ -34,8 +18,8 @@ export function Header(props) { systie - ) + + ) } \ No newline at end of file