fix: replace motion span with static span for header underline
This commit is contained in:
@@ -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>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user