From b11004142adbfe19d099c2589753c0ec5d6eba2b Mon Sep 17 00:00:00 2001 From: Hiro Date: Tue, 31 Mar 2026 00:34:23 +0000 Subject: [PATCH] Fix: Import router in auth store --- src/stores/auth.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stores/auth.ts b/src/stores/auth.ts index 338d959..3f0507b 100644 --- a/src/stores/auth.ts +++ b/src/stores/auth.ts @@ -2,6 +2,7 @@ import { defineStore } from 'pinia' import { ref, computed } from 'vue' import type { Agent, AuthResponse } from '@/types' import { useApi } from '@/composables/useApi' +import router from '@/router' export const useAuthStore = defineStore('auth', () => { const token = ref(localStorage.getItem('access_token'))