Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vardanbansal-harness committed Jan 2, 2025
1 parent 5289bfb commit 50d3e94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/breadcrumbs/breadcrumbs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const Breadcrumbs = () => {
<Breadcrumb className="select-none">
<BreadcrumbList>
{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
Expand Down

0 comments on commit 50d3e94

Please sign in to comment.