Skip to content

Commit aafd74b

Browse files
sarahbrngmfranzke
andauthored
Update packages/components/src/components/breadcrumb-item/breadcrumb-item.lite.tsx
Co-authored-by: Maximilian Franzke <787658+mfranzke@users.noreply.github.com>
1 parent bac8b93 commit aafd74b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/components/src/components/breadcrumb-item/breadcrumb-item.lite.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ export default function DBBreadcrumbItem(props: DBBreadcrumbItemProps) {
2424
{props.text ? props.text : props.children}
2525
</span>
2626
}>
27-
<a href={props.href} aria-current={props.ariaCurrent}>
28-
<Show when={props.icon}>
29-
<DBIcon icon={props.icon} />
30-
</Show>
27+
<a href={props.href} aria-current={props.ariaCurrent} data-icon={props.icon}>
3128
{props.text ? props.text : props.children}
3229
</a>
3330
</Show>

0 commit comments

Comments
 (0)