fix: minor change
Some checks failed
Format / formatting (push) Failing after 6s
Build / build (push) Successful in 41s
CI / build (push) Failing after 9s

This commit is contained in:
Mohamed Maoulainine Maoulainine 2025-05-10 01:16:00 +02:00
parent 48f14e8a04
commit 27adc81ddc

View File

@ -3,7 +3,6 @@ import { onMounted, ref } from "vue";
import { useRouter } from "vue-router"; import { useRouter } from "vue-router";
import { jwtDecode } from "jwt-decode"; // i hope this doesn't break the code later import { jwtDecode } from "jwt-decode"; // i hope this doesn't break the code later
import { store } from "../main.ts"; import { store } from "../main.ts";
import { callApi } from "@/services/api.ts";
import Header from "@/components/HeaderComponent.vue"; import Header from "@/components/HeaderComponent.vue";
const router = useRouter(); 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;
};
*/
</script> </script>
<template> <template>