bugfix: el enlace a Datos generales aparecía como activo aunque no se estuviera en ese tab
This commit is contained in:
1 parent
9cad2a0f62
commit
9065899616
2 files changed
+24
-45
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user