From 202baf9401f8e973c68f8982e8967eb1f12c4c4c Mon Sep 17 00:00:00 2001 From: planetazuzu Date: Wed, 17 Dec 2025 17:26:24 +0100 Subject: [PATCH] fix: Corregir error activeTESCategory y meta tag deprecado MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Añadido estado activeTESCategory que faltaba en Farmacos.tsx - Corregido tipo de activeCategory para incluir 'tes' - Añadido meta tag mobile-web-app-capable (nuevo estándar) - Mantenido apple-mobile-web-app-capable para compatibilidad - Resuelto ReferenceError: activeTESCategory is not defined --- index.html | 1 + src/pages/Farmacos.tsx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index f1e234af..0276f000 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,7 @@ + diff --git a/src/pages/Farmacos.tsx b/src/pages/Farmacos.tsx index 18c895c9..bfc369eb 100644 --- a/src/pages/Farmacos.tsx +++ b/src/pages/Farmacos.tsx @@ -31,7 +31,8 @@ const Farmacos = () => { const highlightId = searchParams.get('id'); const [searchQuery, setSearchQuery] = useState(''); - const [activeCategory, setActiveCategory] = useState('todos'); + const [activeCategory, setActiveCategory] = useState('tes'); + const [activeTESCategory, setActiveTESCategory] = useState('todos'); const [showAdministrationGuide, setShowAdministrationGuide] = useState(true); const [showTerminologyGuide, setShowTerminologyGuide] = useState(false);