Skip to content

Commit

Permalink
fix: naming
Browse files Browse the repository at this point in the history
  • Loading branch information
aon committed Jan 17, 2025
1 parent 774d978 commit 7259168
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/auth-server/components/app/nav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<ZkButtonIcon
icon="Logout"
class="mr-1 -ml-1 scale-[-1]"
@click="logout()"
@click="logoutAndRedirect"
/>
</div>
<div
Expand Down Expand Up @@ -86,10 +86,10 @@ onBeforeUnmount(() => {
watch(windowWidth, checkWidths);
const { logout: _logout } = useAccountStore();
const { logout } = useAccountStore();
const logout = () => {
_logout();
const logoutAndRedirect = () => {
logout();
navigateTo("/");
};
</script>
Expand Down

0 comments on commit 7259168

Please sign in to comment.