From 9a87ac1a17ff609dc045fdd54259cb1a59377e8d Mon Sep 17 00:00:00 2001 From: Averito Date: Sat, 27 Jan 2024 06:07:54 +0300 Subject: [PATCH] fix: logout --- .../components/Header/components/Hamburger/Hamburger.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/client/src/layouts/MainLayout/components/Header/components/Hamburger/Hamburger.tsx b/client/src/layouts/MainLayout/components/Header/components/Hamburger/Hamburger.tsx index 5f747e6..d1f742f 100644 --- a/client/src/layouts/MainLayout/components/Header/components/Hamburger/Hamburger.tsx +++ b/client/src/layouts/MainLayout/components/Header/components/Hamburger/Hamburger.tsx @@ -40,7 +40,6 @@ export const Hamburger: FC = () => { } const onClickLogout: MouseEventHandler = async () => { - await averlist.auth.logout() userStore.logout() await router.push('/') }