Skip to content
Snippets Groups Projects
Commit bf4889b4 authored by Mathias Maaß's avatar Mathias Maaß
Browse files

Bugfix

parent 7e0b608e
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ import ns from '../config/css-ns';
/** Renders plugins */
function PluginHook(props) {
const { PluginComponents, t } = props; // eslint-disable-line react/prop-types
return PluginComponents && (
return PluginComponents ? (
<>
<ListSubheader role="presentation" tabIndex="-1">{t('windowPluginButtons')}</ListSubheader>
{
......@@ -18,7 +18,7 @@ function PluginHook(props) {
))
}
</>
);
) : null;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment