Skip to content

Commit

Permalink
fix: step ts error (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
JarvisArt authored Nov 2, 2022
1 parent 8da3e38 commit 82a2381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Step.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,6 @@ export default class Step extends React.Component<StepProps> {
stepNode = render(stepNode) || null;
}

return stepNode;
return stepNode as React.ReactElement;
}
}

0 comments on commit 82a2381

Please sign in to comment.