-
Notifications
You must be signed in to change notification settings - Fork 31
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
fix(list): list multiple style error #1668
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/growingio/gio-design/5CXFknckFWWfG786gmbTA2V3MDUM |
In src/list/inner/baseItem.tsx:92-111It is a good practice to avoid spreading for JSX attributes. This forces the code to be explicit about which props are given to the component. This avoids situations where warnings are caused by invalid HTML props passed to HTML elements, and further, it avoids passing unintentional extra props by malicious actors. Instead, consider explicitly passing props to the component. Click a link below to tell your Security Team if this comment was: In src/list/inner/baseItem.tsx:92-111It is a good practice to avoid spreading for JSX attributes. This prevents accidentally passing Click a link below to tell your Security Team if this comment was: In src/list/inner/baseItem.tsx:92-111
Click a link below to tell your Security Team if this comment was: |
Code Climate has analyzed commit 8d8031b and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! |
## [22.5.3](v22.5.2...v22.5.3) (2021-12-14) ### Bug Fixes * **cascader:** item 点击方法不稳定 ([#1669](#1669)) ([8e8244a](8e8244a)) * **InputButton:** fix icon-prefix-cls of InputButton ([#1675](#1675)) ([980f51b](980f51b)) * **legacy/list-pro:** use legacy/checkbox in /legacy/list-pro ([#1677](#1677)) ([9f8dde8](9f8dde8)) * **list:** list multiple style error ([#1668](#1668)) ([ff1c61d](ff1c61d))
🎉 This PR is included in version 22.5.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No description provided.