diff --git a/.changeset/dirty-pianos-wash.md b/.changeset/dirty-pianos-wash.md new file mode 100644 index 00000000000..5366b730c69 --- /dev/null +++ b/.changeset/dirty-pianos-wash.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +Change the Link component feature flag from primer_react_css_modules_staff to primer_react_css_modules_ga diff --git a/e2e/components/Link.test.ts b/e2e/components/Link.test.ts index 13c6a8ab906..19a1b60d470 100644 --- a/e2e/components/Link.test.ts +++ b/e2e/components/Link.test.ts @@ -32,7 +32,7 @@ test.describe('Link', () => { globals: { colorScheme: theme, featureFlags: { - primer_react_css_modules_staff: true, + primer_react_css_modules_ga: true, }, }, }) @@ -55,7 +55,7 @@ test.describe('Link', () => { globals: { colorScheme: theme, featureFlags: { - primer_react_css_modules_staff: true, + primer_react_css_modules_ga: true, }, }, }) diff --git a/packages/react/src/Link/Link.tsx b/packages/react/src/Link/Link.tsx index 33d0562e477..608ca582edf 100644 --- a/packages/react/src/Link/Link.tsx +++ b/packages/react/src/Link/Link.tsx @@ -62,7 +62,7 @@ const StyledLink = styled.a` ` const Link = forwardRef(({as: Component = 'a', className, inline, underline, ...props}, forwardedRef) => { - const enabled = useFeatureFlag('primer_react_css_modules_staff') + const enabled = useFeatureFlag('primer_react_css_modules_ga') const innerRef = React.useRef(null) useRefObjectAsForwardedRef(forwardedRef, innerRef)