Skip to content

Commit

Permalink
refactor: 미사용 분기 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
SunwooJaeho committed Dec 9, 2024
1 parent 4f386d3 commit fdcc627
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions packages/design-system/src/components/breadcrumb/breadcrumb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,14 @@ function Item({

function Link({
ref,
isLast = false,
className,
...props
}: React.ComponentPropsWithoutRef<'a'> & {
ref?: React.Ref<HTMLAnchorElement>;
isLast?: boolean;
}) {
return (
<a
ref={ref}
className={cn(
className,
isLast ? styles.breadcrumbLastLink : styles.breadcrumbLink,
)}
{...props}
/>
<a ref={ref} className={cn(styles.breadcrumbLink, className)} {...props} />
);
}

Expand Down

0 comments on commit fdcc627

Please sign in to comment.