Skip to content

Commit 9371788

Browse files
committed
PROD-2142 #comment review comments #time 5m
1 parent 24c36fc commit 9371788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-ts/lib/breadcrumb/breadcrumb-item/BreadcrumbItem.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface BreadcrumbItemProps {
1111

1212
const BreadcrumbItem: FC<BreadcrumbItemProps> = (props: BreadcrumbItemProps) => {
1313
return (
14-
<li key={props.index} onClick={() => props.item.onClick && props.item.onClick(props.item)}>
14+
<li key={props.index} onClick={() => props.item.onClick?.(props.item)}>
1515
<Link className={props.item.isElipsis && styles['elipsis']} to={props.item.url}>
1616
{props.item.name}
1717
</Link>

0 commit comments

Comments
 (0)