mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 22:15:45 +01:00
Fix string comparison with class name, again
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user