Feature/Navbarloggedin #63

Merged
cami merged 1 commit from feature/navbarLoggedIn into main 2021-06-26 22:45:46 +00:00
Showing only changes of commit d48278acab - Show all commits

View file

@ -1,6 +1,7 @@
import React, { useState, useEffect } from "react";
import { Button } from "./Button";
import { Link } from "react-router-dom";
import { useAuth } from "../auth/AuthProvider";
import "./Navbar.css";
import "@fortawesome/fontawesome-free/css/all.css";
@ -57,6 +58,11 @@ function Navbar() {
Anleitung
</Link>
</li>
{isLoggedIn ? (
console.log("Eingeloggt")
): (
console.log("Nicht eingeloggt")
)}
<li>
<Link
to="/login"