Skip to content

Commit

Permalink
chore: Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
LekoArts committed Dec 7, 2023
1 parent f27d9e7 commit dc9798e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const buttonBaseStyles = {
} as const

const FallbackIcon = () => (
<button type="button" sx={buttonBaseStyles}>
<button type="button" sx={buttonBaseStyles} aria-label="Color mode toggle">
<div
sx={{
...iconBaseStyles,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const buttonBaseStyles = {
} as const

const FallbackIcon = () => (
<button type="button" sx={buttonBaseStyles}>
<button type="button" sx={buttonBaseStyles} aria-label="Color mode toggle">
<div
sx={{
...iconBaseStyles,
Expand Down
2 changes: 1 addition & 1 deletion www/src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const Header = () => {
ml: 4,
"&:hover,&:focus": { boxShadow: `0 0 0 2px` },
}}
title="Change color mode"
aria-label="Change color mode"
onClick={cycleMode}
>
<ThemeSwitch />
Expand Down

0 comments on commit dc9798e

Please sign in to comment.