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
Incorrect use of className for color codes on icons
In lines 86-88 and 103-105, you're assigning color codes (e.g., #161616, #94A3B8) to the className prop of the Grid and List components. The className prop is intended for CSS class names, not color values.
To set the color of the icons, you should use the fill prop or style prop.
Incorrect use of
className
for color codes on iconsIn lines 86-88 and 103-105, you're assigning color codes (e.g.,
#161616
,#94A3B8
) to theclassName
prop of theGrid
andList
components. TheclassName
prop is intended for CSS class names, not color values.To set the color of the icons, you should use the
fill
prop orstyle
prop.Apply this diff to fix the issue:
And similarly for the
List
component:Also applies to: 103-105
Originally posted by @coderabbitai[bot] in #46 (comment)
The text was updated successfully, but these errors were encountered: