✨ feat (dashboard): implement dashboard page with summary cards and quick actions
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import type { Pinia } from 'pinia'
|
||||
|
||||
export interface XError {
|
||||
code: string
|
||||
message: string
|
||||
@@ -75,7 +77,7 @@ export async function xfetch(
|
||||
|
||||
function clearStore() {
|
||||
const { $pinia } = useNuxtApp()
|
||||
const userStore = useUserStore($pinia)
|
||||
const userStore = useUserStore($pinia as Pinia)
|
||||
userStore.logout()
|
||||
navigateTo('/401')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user