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; -}; -*/