We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccac3c8 commit a88c2e5Copy full SHA for a88c2e5
components/Header/Hamburger.component.jsx
@@ -5,9 +5,7 @@ import Link from 'next/link';
5
import LINKS from '../../utils/constants/LINKS';
6
7
/**
8
- * Shows the mobile menu.
9
- * Shows a X when mobile menu is expanded.
10
- * Uses React-spring for animations.
+ * Shows the mobile menu.
11
*/
12
const Hamburger = () => {
13
const [isExpanded, setisExpanded] = useState(false);
@@ -35,7 +33,6 @@ const Hamburger = () => {
35
33
opacity: isExpanded ? 0 : 1,
36
34
},
37
});
38
-
39
const showXHideHamburgerAnimation = useSpring({
40
to: [
41
{
@@ -48,7 +45,6 @@ const Hamburger = () => {
48
45
display: isExpanded ? 'none' : 'inline',
49
46
50
47
51
52
return (
53
<>
54
<label
0 commit comments