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 23f44f3 commit e6a7f4aCopy full SHA for e6a7f4a
packages/utils/src/EventHandlers/wrapConnectorHooks.tsx
@@ -19,7 +19,7 @@ export function cloneWithRef(
19
element: any,
20
newRef: any
21
): React.ReactElement<any> {
22
- const previousRef = element.ref;
+ const previousRef = element.props.ref;
23
invariant(
24
typeof previousRef !== 'string',
25
'Cannot connect to an element with an existing string ref. ' +
0 commit comments