Skip to content

Commit

Permalink
Update Link.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwooding authored Nov 5, 2024
1 parent 3b816f8 commit 977db8d
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 977db8d

Please sign in to comment.