Added check to SidebarPanelGroup for when layout does not exist

• Added:
- check to SidebarPanelGroup for when layout does not exist to return null
This commit is contained in:
mgabdev 2020-11-03 13:11:25 -06:00
parent 75e3ac6c7d
commit e66a9ae0a6
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ class SidebarPanelGroup extends React.PureComponent {
}
}
if (!Array.isArray(layout)) return null
return (
<React.Fragment>
{