bugfix: el enlace a Datos generales aparecía como activo aunque no se estuviera en ese tab

This commit is contained in:
2026-01-28 16:14:53 -06:00
parent 9cad2a0f62
commit 9065899616
2 changed files with 24 additions and 45 deletions

View File

@@ -300,6 +300,9 @@ function Tab({
params={params}
className="border-b-2 border-transparent pb-3 text-sm font-medium text-slate-500 transition-all hover:text-slate-800"
activeProps={{ className: 'border-teal-600 text-teal-700 font-bold' }}
activeOptions={{
exact: true,
}}
>
{children}
</Link>