From 01f062211afa868b2de744782ce82038426817ef Mon Sep 17 00:00:00 2001 From: Pierre Tellier Date: Mon, 21 Apr 2025 19:16:42 +0200 Subject: [PATCH] fix: awful fix but works for now ? --- front/MyINPulse-front/src/plugins/authStore.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/front/MyINPulse-front/src/plugins/authStore.ts b/front/MyINPulse-front/src/plugins/authStore.ts index eb11635..40591d8 100644 --- a/front/MyINPulse-front/src/plugins/authStore.ts +++ b/front/MyINPulse-front/src/plugins/authStore.ts @@ -2,11 +2,9 @@ import { useAuthStore } from "@/stores/authStore.ts"; import keycloakService from "@/services/keycloak"; -import type { Pinia } from "pinia"; -import type { AppConfig } from "vue"; // Setup auth store as a plugin so it can be accessed globally in our FE const authStorePlugin = { - install(app: AppConfig, option: Pinia) { + install(app: unknown, option: unknown) { const store = useAuthStore(option.pinia); app.config.globalProperties.$store = store; keycloakService.CallInitStore(store);