这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@asanchezyali
Copy link
Contributor

@asanchezyali asanchezyali commented Jul 19, 2024

This commit addresses the issue where an error was logged in the console when the user switched between light and dark modes. The warning was caused by the inappropriate use of SVG tags in JSX. The solution involved correcting the SVG tag usage to comply with JSX syntax requirements.

Closes #974

@vercel
Copy link

vercel bot commented Jul 19, 2024

@asanchezyali is attempting to deploy a commit to the timlrx's projects Team on Vercel.

A member of the Team first needs to authorize it.

@asanchezyali asanchezyali changed the title fix: resolve console warning when switching between Light and Dark modes fix: resolve console warning when switching between light and dark modes Jul 19, 2024
This commit addresses the issue where an error was logged in the console when the user switched between light and dark modes. The warning was caused by the inappropriate use of SVG tags in JSX. The solution involved correcting the SVG tag usage to comply with JSX syntax requirements.

Closes timlrx#974
@asanchezyali asanchezyali force-pushed the fix-invalid-dom-properties/themeSwitch branch from 3342abf to 56a08da Compare July 19, 2024 01:44
@vercel
Copy link

vercel bot commented Jul 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwind-nextjs-starter-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 30, 2024 8:52am

@timlrx
Copy link
Owner

timlrx commented Jul 30, 2024

Strange the I don't get this error on chrome but you are right that the properties should be camel case. Thanks for the fix!

@timlrx timlrx merged commit 2984b87 into timlrx:main Jul 30, 2024
bhiwagade-rahul pushed a commit to bhiwagade-rahul/tailwind-nextjs-starter-blog that referenced this pull request Sep 22, 2025
…rties/themeSwitch

fix: resolve console warning when switching between light and dark modes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warning logged in console when switching between light and dark Modes

2 participants