From 85e07f59c8ed75d586943ed80594140f73f06091 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 19 Sep 2021 16:29:08 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Add=20a=20"Continue=20to=20Sopho?= =?UTF-8?q?n"=20button=20to=20the=20Logout=20box?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/LogoutBox.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 { Logout + navigate("/logged-in")}> + Continue to Sophon +