diff --git a/frontend-prep/src/api/api_types.ts b/frontend-prep/src/api/api_types.ts index 2e1602af..ff8a1728 100644 --- a/frontend-prep/src/api/api_types.ts +++ b/frontend-prep/src/api/api_types.ts @@ -659,10 +659,10 @@ export interface CancelCommandResponse { livreur?: string; status?: string; position_in_queue?: number; - queue_info?: any; + queue_info?: Record; }; action_required?: string; - example?: any; + example?: Record; new_status?: string; cancelled_by?: { username: string; diff --git a/frontend-prep/src/pages/User/ProfilePage.tsx b/frontend-prep/src/pages/User/ProfilePage.tsx index e3728785..ef3fd2ee 100644 --- a/frontend-prep/src/pages/User/ProfilePage.tsx +++ b/frontend-prep/src/pages/User/ProfilePage.tsx @@ -63,7 +63,7 @@ export default function ProfilePage() { } setLoadingProfile(false); }); - }, [navigate]); // eslint-disable-line react-hooks/exhaustive-deps + }, [navigate]); const showSuccess = (msg: string) => { setSuccessMsg(msg);