Skip to content

Commit

Permalink
Merge pull request #726 from w3bdesign/dev
Browse files Browse the repository at this point in the history
Fix "method_lines" issue
  • Loading branch information
w3bdesign authored Dec 9, 2021
2 parents 08cc5d2 + a88c2e5 commit 5bba23c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions components/Header/Hamburger.component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ import Link from 'next/link';
import LINKS from '../../utils/constants/LINKS';

/**
* Shows the mobile menu.
* Shows a X when mobile menu is expanded.
* Uses React-spring for animations.
* Shows the mobile menu.
*/
const Hamburger = () => {
const [isExpanded, setisExpanded] = useState(false);
Expand Down Expand Up @@ -35,7 +33,6 @@ const Hamburger = () => {
opacity: isExpanded ? 0 : 1,
},
});

const showXHideHamburgerAnimation = useSpring({
to: [
{
Expand All @@ -48,7 +45,6 @@ const Hamburger = () => {
display: isExpanded ? 'none' : 'inline',
},
});

return (
<>
<label
Expand Down

1 comment on commit 5bba23c

@vercel
Copy link

@vercel vercel bot commented on 5bba23c Dec 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.