From 977db8d78c5c5ba6f19f570551dcab8b4b02aa24 Mon Sep 17 00:00:00 2001 From: Josh Wooding <12938082+joshwooding@users.noreply.github.com> Date: Tue, 5 Nov 2024 16:30:44 +0000 Subject: [PATCH] Update Link.tsx --- packages/core/src/link/Link.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/link/Link.tsx b/packages/core/src/link/Link.tsx index a0b6f958fb..0a86426e10 100644 --- a/packages/core/src/link/Link.tsx +++ b/packages/core/src/link/Link.tsx @@ -41,7 +41,7 @@ export const Link = forwardRef(function Link( }); const { ExternalIcon } = useIcon(); - const color = variant ?? color ?? "primary"; + const color = variant ?? colorProp ?? "primary"; const LinkIconComponent = IconComponent === undefined ? ExternalIcon : IconComponent;