-
Notifications
You must be signed in to change notification settings - Fork 2k
fix(docs): fix SVG attribute casing to remove React warnings #10297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@ohprettyhak is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
Closed as a duplicate of #10294. |
Thank you for the PR! Looks like we both noticed it. 😁 I'm happy to close mine and use yours, if you'd like! |
@anthonyshew Hello! I’d really appreciate it if you could do that. |
Certainly! Re-open when ready. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Description
This PR fixes React warnings caused by incorrectly cased SVG attribute names in
turborepo-wordmark.tsx
andmagnifying-glass.tsx
.The root cause is the use of non-camelCase attribute names in SVG elements, which is not compliant with React's expected syntax.
To resolve this, the affected SVG attributes have been updated to use camelCase, eliminating the warnings during
next dev
.Testing Instructions
Clone the PR and run the project with
next dev
, or review the updated code to verify that the SVG attribute casing issues have been resolved.