We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d38f4f3 commit af00f67Copy full SHA for af00f67
src/index.tsx
@@ -74,7 +74,7 @@ export function adopt<RP = any, P = any>(mapper: Mapper<RP, P>): RPC<RP, P> {
74
75
return isFn(element)
76
? React.createElement(element, assign({}, rest, props, { render }))
77
- : React.cloneElement(element, null, render)
+ : React.cloneElement(element, {}, render)
78
}}
79
</Component>
80
)
0 commit comments