From 50d3e942a48b72b1c56b46fef7ab26d977371ab7 Mon Sep 17 00:00:00 2001 From: Vardan Bansal Date: Thu, 2 Jan 2025 15:32:56 -0800 Subject: [PATCH] minor fix --- packages/ui/src/components/breadcrumbs/breadcrumbs.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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