Skip to content

fix: step is wrapped in fragments #273

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

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

JarvisArt
Copy link
Contributor

@JarvisArt JarvisArt commented Nov 2, 2022

修复 Step typescirpt warning
'Steps.Step' cannot be used as a JSX component. Its instance type 'Step' is not a valid JSX element.

@codecov
Copy link

codecov bot commented Nov 2, 2022

Codecov Report

Merging #273 (cd330e2) into master (8da3e38) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #273   +/-   ##
=======================================
  Coverage   98.82%   98.82%           
=======================================
  Files           2        2           
  Lines          85       85           
  Branches       33       33           
=======================================
  Hits           84       84           
  Misses          1        1           
Impacted Files Coverage Δ
src/Step.tsx 97.91% <100.00%> (ø)

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

@afc163
Copy link
Member

afc163 commented Nov 2, 2022

Why?

@afc163
Copy link
Member

afc163 commented Nov 2, 2022

图片

@afc163
Copy link
Member

afc163 commented Nov 2, 2022

改成 function component 吧

@afc163 afc163 merged commit 82a2381 into react-component:master Nov 2, 2022
@JarvisArt
Copy link
Contributor Author

改成 function component 吧

好的,这个星期我改一下

@afc163
Copy link
Member

afc163 commented Nov 2, 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