From d9c5f7bacf0447c8ffc72dbc520db26e0f28821b Mon Sep 17 00:00:00 2001 From: Mohamed Maoulainine Maoulainine Date: Mon, 21 Apr 2025 18:33:51 +0200 Subject: [PATCH] fix: eslint --- front/MyINPulse-front/src/components/AgendaComponent.vue | 2 +- front/MyINPulse-front/src/services/api.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/front/MyINPulse-front/src/components/AgendaComponent.vue b/front/MyINPulse-front/src/components/AgendaComponent.vue index e06c4e1..1fb354b 100644 --- a/front/MyINPulse-front/src/components/AgendaComponent.vue +++ b/front/MyINPulse-front/src/components/AgendaComponent.vue @@ -30,7 +30,7 @@ lieu: string, } - const props = defineProps<{ + defineProps<{ projectRDV: rendezVous[] }>(); diff --git a/front/MyINPulse-front/src/services/api.ts b/front/MyINPulse-front/src/services/api.ts index 6b9513f..e3ec236 100644 --- a/front/MyINPulse-front/src/services/api.ts +++ b/front/MyINPulse-front/src/services/api.ts @@ -67,7 +67,7 @@ function callApi( function postApi( endpoint: string, - data: any, + data: unknown, //to fix eslint issue, go back here if errors occurs later onSuccessHandler?: (response: AxiosResponse) => void, onErrorHandler?: (error: AxiosError) => void ): void {