diff --git a/src/client/src/components/AsuraBar.js b/src/client/src/components/AsuraBar.js index ab91c0a..0add161 100644 --- a/src/client/src/components/AsuraBar.js +++ b/src/client/src/components/AsuraBar.js @@ -16,6 +16,12 @@ function LoggedInMenu() { const handleClose = () => { setAnchorEl(null); }; + + const logout = () => { + console.log("Logged out"); + setAnchorEl(null); + } + return ( <> @@ -24,18 +30,23 @@ function LoggedInMenu() { - + ); } -function notLoggedInButton() { +function NotLoggedInButton() { + + const login = () => { + console.log("Logged in"); + } + return ( <> - - @@ -44,7 +55,7 @@ function notLoggedInButton() { } export default function Appbar(props) { - const isLoggedIn = false; + const isLoggedIn = true; // props.isLoggedIn; return ( <> @@ -71,7 +82,7 @@ export default function Appbar(props) {

{props.pageTitle || ""}

- { isLoggedIn ? : } + { isLoggedIn ? : }