feat: add logout for navbar
This commit is contained in:
@@ -11,6 +11,7 @@ export const useTokenStore = defineStore('token', {
|
||||
|
||||
getters: {
|
||||
isLoggedIn: (state) => typeof state.token === 'string',
|
||||
currentToken: (state) => state.token as string,
|
||||
},
|
||||
|
||||
actions: {
|
||||
|
||||
Reference in New Issue
Block a user