Skip to content

Commit

Permalink
Revert "feat: link in stay light on active (#32)"
Browse files Browse the repository at this point in the history
This reverts commit 47aefbb.
  • Loading branch information
foodelevator committed Oct 19, 2024
1 parent 47aefbb commit 2774e1c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/TopBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@ const List = styled.div`
}
}
a.current {
background-color: ${({ theme }) => theme.primary.light};
}
transition: max-width 0.1s ease-in-out, margin-left 0.1s ease-in-out, opacity 0.5s ease-in-out;
max-width: 100%;
opacity: 1;
Expand Down Expand Up @@ -137,7 +133,6 @@ const TopBar = ({
React.cloneElement(link, {
key: link.to,
onClick: e => toggleMenu(),
className: window.location.pathname === link.props.to && "current",
children: link.props.children.toUpperCase()
})
:
Expand Down

0 comments on commit 2774e1c

Please sign in to comment.