Fix string comparison with class name, again

This commit is contained in:
René Pfeuffer
2019-02-21 16:53:13 +01:00
parent beb8697018
commit bcadd559f2

View File

@@ -84,7 +84,7 @@ class Page extends React.Component<Props> {
let content = [];
React.Children.forEach(children, child => {
if (child && child.type.name !== "PageActions") {
if (child && child.type.name !== PageActions.name) {
content.push(child);
}
});