fix: replace motion span with static span for header underline

This commit is contained in:
arraysid
2025-06-01 08:49:07 +07:00
parent e871d453a8
commit ddca7a5ccf
@@ -55,10 +55,7 @@ export function Header() {
{title} {title}
</span> </span>
{pathname === link && ( {pathname === link && (
<motion.span <span className="absolute bottom-0 left-0 w-full h-0.5 bg-primary-500" />
className="absolute bottom-0 left-0 w-full h-0.5 bg-primary-500"
layoutId="header-underline"
/>
)} )}
</Link> </Link>
))} ))}