src/domain/BreadcrumbsBuilder/index.js
Function buildWithProps
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
buildWithProps: (props) => {
const { params, routes, buildRoute } = props;
const getRouteSegments = () =>
routes.filter((route) => is.string(route.path));