We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e755e3f commit 9bc8b7cCopy full SHA for 9bc8b7c
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