Project

General

Profile

Bug #31546

Updated by Maria Agaphontzev 9 months 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