From b1fa0ad608a5281e6125b1242682afb77c64cf75 Mon Sep 17 00:00:00 2001 From: Xor290 Date: Sun, 3 May 2026 19:46:12 +0200 Subject: [PATCH] chore: fix --- frontend-prep/src/api/api_types.ts | 4 ++-- frontend-prep/src/pages/User/ProfilePage.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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);