Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 11, 2024
1 parent 6e1ee3d commit 8168fbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ToggleSwitch/ToggleSwitch.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const ToggleSwitch = ({handleMenuItemClick}) => {
onChange={() => {
styleContext.changeTheme();
setChecked(!isChecked);
handleMenuItemClick()
handleMenuItemClick();
}}
/>
<span className="slider round">
Expand Down
2 changes: 1 addition & 1 deletion src/components/header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ function Header() {
<li>
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
<a>
<ToggleSwitch handleMenuItemClick={handleMenuItemClick}/>
<ToggleSwitch handleMenuItemClick={handleMenuItemClick} />
</a>
</li>
</ul>
Expand Down

0 comments on commit 8168fbe

Please sign in to comment.