We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e3276b commit 82a4e57Copy full SHA for 82a4e57
packages/ui-components/Common/Breadcrumbs/index.tsx
@@ -51,8 +51,12 @@ const Breadcrumbs: FC<BreadcrumbsProps> = ({
51
hideSeparator={isLastItem}
52
position={position + +!hideHome}
53
>
54
- {link.href ? (
55
- <BreadcrumbLink as={as} href={link.href} active={isLastItem}>
+ {link.href || isLastItem ? (
+ <BreadcrumbLink
56
+ as={as}
57
+ href={link.href || undefined}
58
+ active={isLastItem}
59
+ >
60
{link.label}
61
</BreadcrumbLink>
62
) : (
0 commit comments