Skip to content

Commit 5bba23c

Browse files
authored
Merge pull request #726 from w3bdesign/dev
Fix "method_lines" issue
2 parents 08cc5d2 + a88c2e5 commit 5bba23c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

components/Header/Hamburger.component.jsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ import Link from 'next/link';
55
import LINKS from '../../utils/constants/LINKS';
66

77
/**
8-
* Shows the mobile menu.
9-
* Shows a X when mobile menu is expanded.
10-
* Uses React-spring for animations.
8+
* Shows the mobile menu.
119
*/
1210
const Hamburger = () => {
1311
const [isExpanded, setisExpanded] = useState(false);
@@ -35,7 +33,6 @@ const Hamburger = () => {
3533
opacity: isExpanded ? 0 : 1,
3634
},
3735
});
38-
3936
const showXHideHamburgerAnimation = useSpring({
4037
to: [
4138
{
@@ -48,7 +45,6 @@ const Hamburger = () => {
4845
display: isExpanded ? 'none' : 'inline',
4946
},
5047
});
51-
5248
return (
5349
<>
5450
<label

0 commit comments

Comments
 (0)