diff --git a/web/src/pages/admin/hse/InspeccionDetailPage.tsx b/web/src/pages/admin/hse/InspeccionDetailPage.tsx index c5cafd5..351e88e 100644 --- a/web/src/pages/admin/hse/InspeccionDetailPage.tsx +++ b/web/src/pages/admin/hse/InspeccionDetailPage.tsx @@ -1,5 +1,5 @@ import { useState } from 'react'; -import { useParams, useNavigate, Link } from 'react-router-dom'; +import { useParams, useNavigate } from 'react-router-dom'; import { ArrowLeft, Plus, diff --git a/web/src/pages/admin/hse/InspeccionesPage.tsx b/web/src/pages/admin/hse/InspeccionesPage.tsx index 34767d3..20b11f2 100644 --- a/web/src/pages/admin/hse/InspeccionesPage.tsx +++ b/web/src/pages/admin/hse/InspeccionesPage.tsx @@ -5,7 +5,6 @@ import { Eye, Search, CheckCircle, - XCircle, AlertTriangle, FileCheck, Clock, @@ -45,13 +44,6 @@ const estadoLabels: Record = { vencida: 'Vencida', }; -const gravedadColors: Record = { - baja: 'bg-green-100 text-green-800', - media: 'bg-yellow-100 text-yellow-800', - alta: 'bg-orange-100 text-orange-800', - critica: 'bg-red-100 text-red-800', -}; - const gravedadLabels: Record = { baja: 'Baja', media: 'Media', @@ -59,11 +51,6 @@ const gravedadLabels: Record = { critica: 'Crítica', }; -const tipoHallazgoLabels: Record = { - acto_inseguro: 'Acto Inseguro', - condicion_insegura: 'Condición Insegura', -}; - export function InspeccionesPage() { const [search, setSearch] = useState(''); const [tipoFilter, setTipoFilter] = useState('');