Skip to content

Commit e78e9e3

Browse files
authored
Update theme-toggle.tsx
Fix typo in classname
1 parent b457045 commit e78e9e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/web/src/components/theme-toggle.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ export function ThemeToggle({ className }: ThemeToggleProps) {
1919
onClick={() => setTheme(theme === "dark" ? "light" : "dark")}
2020
>
2121
{theme === "dark" ? (
22-
<Sun className="!size-[1.1rem]" />
22+
<Sun className="!size[1.1rem]" />
2323
) : (<Moon className="!size[1.1rem]" />)}
2424
<span className="sr-only">{theme === "dark" ? "Light" : "Dark"}</span>
2525
</Button>
2626
);
2727
}
28+

0 commit comments

Comments
 (0)