Skip to content

Commit bbb8abb

Browse files
committed
Fix bug in PageComposition
1 parent d966b81 commit bbb8abb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/framework/components/PageComposition/PageComposition.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class PageComposition extends Component {
148148
} else {
149149
// this is a user custom component, create container for it
150150
const wrappedComponent = get(userComponents, validType, null);
151-
if (!wrappedComponent || (typeof wrappedComponent !== 'function')) {
151+
if (!wrappedComponent) {
152152
return React.createElement(
153153
NotFoundComponent,
154154
{ key: uniqueId('notFound'), componentName: validType }

0 commit comments

Comments
 (0)