Skip to content

Commit

Permalink
feat: as React.ReactElement
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyair committed Dec 1, 2023
1 parent 5038f45 commit 5046bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/form/form-subscribe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ export const FormSubscribe: FC<FormSubscribeProps> = props => {
[JSON.stringify(value), props.children]
)

return <>{childNode}</>
return childNode as React.ReactElement
}

0 comments on commit 5046bd0

Please sign in to comment.