Skip to content

Commit 2984b87

Browse files
authored
Merge pull request #975 from asanchezyali/fix-invalid-dom-properties/themeSwitch
fix: resolve console warning when switching between light and dark modes
2 parents 947d3a0 + 56a08da commit 2984b87

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/ThemeSwitch.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ const Monitor = () => (
3434
viewBox="0 0 20 20"
3535
fill="none"
3636
stroke="currentColor"
37-
stroke-width="2"
38-
stroke-linecap="round"
39-
stroke-linejoin="round"
37+
strokeWidth="2"
38+
strokeLinecap="round"
39+
strokeLinejoin="round"
4040
className="group:hover:text-gray-100 h-6 w-6"
4141
>
4242
<rect x="3" y="3" width="14" height="10" rx="2" ry="2"></rect>

0 commit comments

Comments
 (0)