From 27adc81ddc81641c01d22f7dd9188e79d368324a Mon Sep 17 00:00:00 2001 From: Mohamed Maoulainine Maoulainine Date: Sat, 10 May 2025 01:16:00 +0200 Subject: [PATCH] fix: minor change --- front/MyINPulse-front/src/components/LoginComponent.vue | 9 --------- 1 file changed, 9 deletions(-) diff --git a/front/MyINPulse-front/src/components/LoginComponent.vue b/front/MyINPulse-front/src/components/LoginComponent.vue index 02958f3..a68b2c8 100644 --- a/front/MyINPulse-front/src/components/LoginComponent.vue +++ b/front/MyINPulse-front/src/components/LoginComponent.vue @@ -3,7 +3,6 @@ import { onMounted, ref } from "vue"; import { useRouter } from "vue-router"; import { jwtDecode } from "jwt-decode"; // i hope this doesn't break the code later import { store } from "../main.ts"; -import { callApi } from "@/services/api.ts"; import Header from "@/components/HeaderComponent.vue"; const router = useRouter(); @@ -34,15 +33,7 @@ onMounted(() => { } } }); -/* -const loading = ref(false); -const callApiWithLoading = async (path: string) => { - loading.value = true; - await callApi(path); - loading.value = false; -}; -*/