Skip to content

Commit e287643

Browse files
authored
Merge pull request #728 from w3bdesign/dev
Remove unneeded lines of code
2 parents 5bba23c + c823351 commit e287643

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

components/Header/Hamburger.component.jsx

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

77
/**
8-
* Shows the mobile menu.
8+
* Shows the mobile menu.
99
*/
1010
const Hamburger = () => {
1111
const [isExpanded, setisExpanded] = useState(false);
@@ -60,9 +60,9 @@ const Hamburger = () => {
6060
}}
6161
className="text-gray-900 fill-current"
6262
xmlns="https://www.w3.org/2000/svg"
63-
width="20"
64-
height="20"
65-
viewBox="0 0 20 20"
63+
width="25"
64+
height="25"
65+
viewBox="0 0 25 25"
6666
>
6767
<path d="M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"></path>
6868
</animated.svg>
@@ -73,15 +73,9 @@ const Hamburger = () => {
7373
}}
7474
style={showXHideHamburgerAnimation}
7575
xmlns="https://www.w3.org/2000/svg"
76-
width="20"
77-
height="20"
78-
viewBox="0 0 20 20"
79-
fill="none"
80-
stroke="currentColor"
81-
strokeWidth="2"
82-
strokeLinecap="round"
83-
strokeLinejoin="round"
84-
className="feather feather-x"
76+
width="25"
77+
height="25"
78+
viewBox="0 0 25 25"
8579
>
8680
<line x1="18" y1="6" x2="6" y2="18"></line>
8781
<line x1="6" y1="6" x2="18" y2="18"></line>

0 commit comments

Comments
 (0)