remove nav listener on unmount

This commit is contained in:
Tom Heaton
2024-06-06 00:46:46 +01:00
parent 77da5694bb
commit 447bb82e2f
5 changed files with 17 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ export const Button = styled(Link)`
border-radius: 50px;
background: ${({ primary }) => (primary ? "#01BF71" : "#010606")};
white-space: nowrap;
padding: ${({ big }) => (big ? " 14px 48px" : "12px 30px")};
padding: ${({ big }) => (big ? "14px 48px" : "12px 30px")};
color: ${({ dark }) => (dark ? "#010106" : "#fff")};
font-size: $ ${({ fontBig }) => (fontBig ? "20px" : "16px")};
outline: none;