From ca12fa5f3749a6bc24ba7b6e41b9e4ce9303883c Mon Sep 17 00:00:00 2001 From: Jacek Kopecky Date: Sun, 29 Oct 2023 20:01:20 +0000 Subject: [PATCH] fix logout url --- CHANGELOG.md | 1 + src/js/components/Login.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e651e1..e2ca60b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - 1.4.1 fix service worker location and working - 1.4.2 add offline view with last books stored in local storage - 1.4.3 start offline when not online, highlight the offline state +- 1.4.4 fix logout url ## 1.3.0 Add lists by title (2023-01-05) diff --git a/src/js/components/Login.tsx b/src/js/components/Login.tsx index 0ea7ef8..aa5f414 100644 --- a/src/js/components/Login.tsx +++ b/src/js/components/Login.tsx @@ -45,7 +45,7 @@ export default function Login({ state, setState }: LoginProps): JSX.Element { const doLogout = () => { closeMenu(); - logout().catch(console.error); + logout({ openUrl: false }).catch(console.error); setState(AppState.loggedOut); };