mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
type: rm any (#48765)
This commit is contained in:
parent
0528d9ce42
commit
313d534f2b
@ -39,7 +39,7 @@ export const OverrideProvider = React.forwardRef<
|
||||
);
|
||||
|
||||
const canRef = supportNodeRef(children);
|
||||
const mergedRef = useComposeRef(ref, canRef ? (children as any).ref : null);
|
||||
const mergedRef = useComposeRef(ref, canRef ? children.ref : null);
|
||||
|
||||
return (
|
||||
<OverrideContext.Provider value={context}>
|
||||
|
Loading…
Reference in New Issue
Block a user