You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(docs): fix SVG attribute casing to remove React warnings (#10297)
### Description
<table>
<tr>
<td>
<img width="1512" alt="Screenshot 2025-04-06 at 14 59 33"
src="https://github.com/user-attachments/assets/544f47b3-6488-4b57-9077-3921735a7f06"
/>
</td>
<td>
<img width="1512" alt="Screenshot 2025-04-06 at 14 59 46"
src="https://github.com/user-attachments/assets/ebee4f0c-2246-4f9d-8c17-638ad463c66d"
/>
</td>
</tr>
<tr>
<td align="center">
`turborepo-wordmark.tsx`
</td>
<td align="center">
`magnifying-glass.tsx`
</td>
</tr>
</table>
This PR fixes React warnings caused by incorrectly cased SVG attribute
names in `turborepo-wordmark.tsx` and `magnifying-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.
0 commit comments