Skip to content

Commit

Permalink
Removing unused styled component and property
Browse files Browse the repository at this point in the history
  • Loading branch information
mariana-caldas committed May 16, 2023
1 parent 6ac0890 commit 832a51d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion components/layout/Nav/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ export default function Nav() {
<S.Item key={id}>
<S.Link
href={href}
$isSticky={isSticky}
className={`${router.pathname == href ? `current` : ''}`}
title={text}
>
Expand Down
7 changes: 0 additions & 7 deletions components/layout/Nav/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,6 @@ const Link = styled.a`
${m.largeDesktop(css`
font-size: 1.5rem;
`)}
//check props for sticky behavior
${props => (props.$isSticky ? LinkSticky : '')}
`;

const LinkSticky = css`
font-size: 1.2rem !important;
`;

const Item = styled.li`
Expand Down

0 comments on commit 832a51d

Please sign in to comment.