Skip to content

Commit 1a9d6be

Browse files
committed
components/navbar: remove active state
1 parent 14c43d9 commit 1a9d6be

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/components/navbar/index.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,7 @@ export default function Navbar({
9898
{links.map((link) => {
9999
return (
100100
<li key={link.text}>
101-
<Link
102-
className={classNames({
103-
[s.active]: pathname === link.href,
104-
})}
105-
{...link}
106-
/>
101+
<Link {...link} />
107102
</li>
108103
);
109104
})}

0 commit comments

Comments
 (0)