From 898e19cf0a586b30cb013850814d6e50c440d759 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 24 Nov 2025 08:12:05 +0000 Subject: [PATCH] fix: Remove duplicate downloadDebugFile function causing build failure --- frontend/src/pages/Admin.jsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/frontend/src/pages/Admin.jsx b/frontend/src/pages/Admin.jsx index d08fcba..1d7af6f 100644 --- a/frontend/src/pages/Admin.jsx +++ b/frontend/src/pages/Admin.jsx @@ -464,14 +464,6 @@ export default function Admin() { } }; - const downloadDebugFile = async (filename) => { - try { - window.open(`${API_URL}/debug/dumps/${filename}`, '_blank'); - } catch (error) { - toast.error('Erreur lors du téléchargement'); - } - }; - const deleteSiteDebugFiles = async (domain) => { if (!confirm(`Supprimer tous les fichiers de debug pour ${domain} ?`)) return; try {