diff --git a/packages/ui/src/components/breadcrumbs/breadcrumbs.tsx b/packages/ui/src/components/breadcrumbs/breadcrumbs.tsx index 8943e8f72..3743003eb 100644 --- a/packages/ui/src/components/breadcrumbs/breadcrumbs.tsx +++ b/packages/ui/src/components/breadcrumbs/breadcrumbs.tsx @@ -13,7 +13,7 @@ export const Breadcrumbs = () => { {matches.map((match, index) => { - const { breadcrumb } = match.handle as CustomHandle + const { breadcrumb } = (match.handle as CustomHandle) || {} if (!breadcrumb) return null const isEdge = index === 0 || index === matches.length - 1