Skip to content

Commit

Permalink
Update Link.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwooding committed Nov 11, 2024
1 parent 542c8d2 commit 8da6133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/link/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const Link = forwardRef<HTMLAnchorElement, LinkProps>(function Link(
});
const { ExternalIcon } = useIcon();

const color = variant ?? color ?? "primary";
const color = variant ?? colorProp ?? "primary";
const LinkIconComponent =
IconComponent === undefined ? ExternalIcon : IconComponent;

Expand Down

0 comments on commit 8da6133

Please sign in to comment.