Project

General

Profile

Bug #31546

Updated by Maria Agaphontzev almost 4 years ago

When trying to pass a component to customBreadctumbs while using pageLayout there is an error as it's trying to render an object `{customBreadctumbs: your_component_here}` instead the component itself 
 ``` 
 Uncaught Invariant Violation: Objects are not valid as a React child (found: object with keys {customBreadcrumbs}). If you meant to render a collection of children, use an array instead. 
     in div (created by PageLayout) 
     in div (created by PageLayout) 
     in div (created by PageLayout) 
     in PageLayout (created by AuditsPage) 
 ```

Back