We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ef9404 commit 2be1e77Copy full SHA for 2be1e77
components/tree-select/utils.tsx
@@ -20,7 +20,7 @@ export function convertChildrenToData(nodes: any[]): any[] {
20
};
21
Object.keys(restSlot).forEach(p => {
22
if (typeof restSlot[p] === 'function') {
23
- data[p] = restSlot[p]();
+ data[p] = <>{restSlot[p]()}</>;
24
}
25
});
26
const childData = convertChildrenToData(children);
0 commit comments