Skip to content
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

chore: Component to FC #275

Merged
merged 1 commit into from
Nov 5, 2022
Merged

Conversation

JarvisArt
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Nov 5, 2022

Codecov Report

Merging #275 (fc50e4e) into master (e021a01) will increase coverage by 1.17%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           master      #275      +/-   ##
===========================================
+ Coverage   98.82%   100.00%   +1.17%     
===========================================
  Files           2         2              
  Lines          85        90       +5     
  Branches       33        42       +9     
===========================================
+ Hits           84        90       +6     
+ Misses          1         0       -1     
Impacted Files Coverage Δ
src/Step.tsx 100.00% <100.00%> (+2.08%) ⬆️
src/Steps.tsx 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

src/Steps.tsx Outdated
<div className={classString} style={style} {...restProps}>
{items
.filter((item) => item)
.map((item, index) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个 map 里的函数可以提出来。

@afc163 afc163 merged commit c0bc1b3 into react-component:master Nov 5, 2022
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.

2 participants