diff --git a/frontend/src/components/LogoutBox.tsx b/frontend/src/components/LogoutBox.tsx index 2ee558b..bb4c509 100644 --- a/frontend/src/components/LogoutBox.tsx +++ b/frontend/src/components/LogoutBox.tsx @@ -2,7 +2,8 @@ import * as React from "react" import {Box, Form, Heading, Panel, Variable} from "@steffo/bluelib-react"; import {useLogin} from "./LoginContext"; import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"; -import {faTimesCircle, faUser} from "@fortawesome/free-solid-svg-icons"; +import {faUser} from "@fortawesome/free-solid-svg-icons"; +import {navigate} from "@reach/router"; export function LogoutBox(): JSX.Element { @@ -31,6 +32,9 @@ export function LogoutBox(): JSX.Element {