feat (dashboard): implement dashboard page with summary cards and quick actions

This commit is contained in:
Abizrh
2025-08-15 16:30:48 +07:00
parent 878211bc7f
commit fe46db6bc6
4 changed files with 191 additions and 185 deletions
+3 -1
View File
@@ -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')
}