Merge pull request #975 from asanchezyali/fix-invalid-dom-properties/themeSwitch

fix: resolve console warning when switching between light and dark modes
This commit is contained in:
Timothy 2024-07-30 16:52:57 +08:00 committed by GitHub
commit 2984b87c5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,9 +34,9 @@ const Monitor = () => (
viewBox="0 0 20 20"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
className="group:hover:text-gray-100 h-6 w-6"
>
<rect x="3" y="3" width="14" height="10" rx="2" ry="2"></rect>