From 7259168fb96e4bdb0d4c7b6167d229f9c4c05f24 Mon Sep 17 00:00:00 2001 From: aon <21188659+aon@users.noreply.github.com> Date: Fri, 17 Jan 2025 14:45:36 -0300 Subject: [PATCH] fix: naming --- packages/auth-server/components/app/nav.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/auth-server/components/app/nav.vue b/packages/auth-server/components/app/nav.vue index e6c0581e..9f62d41f 100644 --- a/packages/auth-server/components/app/nav.vue +++ b/packages/auth-server/components/app/nav.vue @@ -41,7 +41,7 @@
{ watch(windowWidth, checkWidths); -const { logout: _logout } = useAccountStore(); +const { logout } = useAccountStore(); -const logout = () => { - _logout(); +const logoutAndRedirect = () => { + logout(); navigateTo("/"); };