Skip to content

Commit

Permalink
fix: step has no key in fragment (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
fireairforce authored Jun 22, 2020
1 parent 5894a50 commit 2d8ce81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ build
lib
es
coverage
package-lock.json
1 change: 1 addition & 0 deletions src/Steps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export default class Steps extends React.Component<StepsProps> {
const childProps = {
stepNumber: `${stepNumber + 1}`,
stepIndex: stepNumber,
key: stepNumber,
prefixCls,
iconPrefix,
wrapperStyle: style,
Expand Down

0 comments on commit 2d8ce81

Please sign in to comment.