From dccd6027c505c68ebb4f317bc3b020d6255ed3d6 Mon Sep 17 00:00:00 2001 From: Terje Karlsen Date: Mon, 18 Dec 2023 12:29:58 +0100 Subject: [PATCH] =?UTF-8?q?Fikser=20typefeil=20oppst=C3=A5tt=20i=20onClick?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/komponenter/header/logoutWarning/LogoutWarning.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komponenter/header/logoutWarning/LogoutWarning.tsx b/src/komponenter/header/logoutWarning/LogoutWarning.tsx index 6ca7c8d5e..3a8ad3e3b 100644 --- a/src/komponenter/header/logoutWarning/LogoutWarning.tsx +++ b/src/komponenter/header/logoutWarning/LogoutWarning.tsx @@ -29,7 +29,7 @@ export const LogoutWarning = () => { } }, [isTokenExpiring, isSessionExpiring]); - const onCloseHandler = (e: SyntheticEvent) => { + const onCloseHandler = (e: SyntheticEvent) => { e.preventDefault(); setIsOpen(false); };