Skip to content

Commit 832a51d

Browse files
Removing unused styled component and property
1 parent 6ac0890 commit 832a51d

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

components/layout/Nav/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ export default function Nav() {
7373
<S.Item key={id}>
7474
<S.Link
7575
href={href}
76-
$isSticky={isSticky}
7776
className={`${router.pathname == href ? `current` : ''}`}
7877
title={text}
7978
>

components/layout/Nav/styles.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,6 @@ const Link = styled.a`
220220
${m.largeDesktop(css`
221221
font-size: 1.5rem;
222222
`)}
223-
224-
//check props for sticky behavior
225-
${props => (props.$isSticky ? LinkSticky : '')}
226-
`;
227-
228-
const LinkSticky = css`
229-
font-size: 1.2rem !important;
230223
`;
231224

232225
const Item = styled.li`

0 commit comments

Comments
 (0)