We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e755e3f + 9bc8b7c commit c90233fCopy full SHA for c90233f
1 file changed
src/core/JSONLDAbstractNode.js
@@ -11,6 +11,8 @@ class JSONLDAbstractNode extends React.Component {
11
};
12
13
getChildJSON(child, isCollection) {
14
+ if(!child) return '';
15
+
16
const ChildClass = child.type;
17
let { children, type, id, parentID, ...schema } = child.props;
18
if (!!parentID) schema = {'@id': parentID };
0 commit comments