Skip to content

Commit 95a1243

Browse files
committed
Expected parentheses around arrow function argument.
1 parent eaf95ea commit 95a1243

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/Header/Hamburger.component.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const Hamburger = () => {
5858
id="hamburgersvg"
5959
style={showHamburgerHideXAnimation}
6060
onClick={() => {
61-
setisExpanded(prevExpanded => !prevExpanded);
61+
setisExpanded((prevExpanded) => !prevExpanded);
6262
}}
6363
className="text-gray-900 fill-current"
6464
xmlns="https://www.w3.org/2000/svg"
@@ -71,7 +71,7 @@ const Hamburger = () => {
7171
<animated.svg
7272
id="xsvg"
7373
onClick={() => {
74-
setisExpanded(prevExpanded => !prevExpanded);
74+
setisExpanded((prevExpanded) => !prevExpanded);
7575
}}
7676
style={showXHideHamburgerAnimation}
7777
xmlns="https://www.w3.org/2000/svg"

0 commit comments

Comments
 (0)