Skip to content

Commit

Permalink
fix(react): fix select type validate error #1838 (#1844)
Browse files Browse the repository at this point in the history
  • Loading branch information
aoilti authored Jul 21, 2021
1 parent eaccb72 commit b7975ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/shared/connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export function connect<T extends JSXComponent>(
}, target)

const Destination = React.forwardRef(
(props: React.ComponentProps<T>, ref) => {
(props: Partial<React.ComponentProps<T>>, ref) => {
return React.createElement(Target, { ...props, ref })
}
)
Expand Down

0 comments on commit b7975ba

Please sign in to comment.