We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d966b81 commit bbb8abbCopy full SHA for bbb8abb
1 file changed
src/framework/components/PageComposition/PageComposition.js
@@ -148,7 +148,7 @@ class PageComposition extends Component {
148
} else {
149
// this is a user custom component, create container for it
150
const wrappedComponent = get(userComponents, validType, null);
151
- if (!wrappedComponent || (typeof wrappedComponent !== 'function')) {
+ if (!wrappedComponent) {
152
return React.createElement(
153
NotFoundComponent,
154
{ key: uniqueId('notFound'), componentName: validType }
0 commit comments