From 18692e58e2badc3e227da26712964f63594180bd Mon Sep 17 00:00:00 2001 From: Jon Rohan Date: Thu, 12 Dec 2024 07:37:49 -0800 Subject: [PATCH] chore(BranchName): Move BranchName component css module feature flag to ga (#5381) * Move BranchName to ga * Create famous-laws-confess.md --- .changeset/famous-laws-confess.md | 5 +++++ packages/react/src/BranchName/BranchName.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/famous-laws-confess.md diff --git a/.changeset/famous-laws-confess.md b/.changeset/famous-laws-confess.md new file mode 100644 index 00000000000..2cf3ad69705 --- /dev/null +++ b/.changeset/famous-laws-confess.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +Move BranchName component css module feature flag to ga diff --git a/packages/react/src/BranchName/BranchName.tsx b/packages/react/src/BranchName/BranchName.tsx index d2d4556b577..46b239865d7 100644 --- a/packages/react/src/BranchName/BranchName.tsx +++ b/packages/react/src/BranchName/BranchName.tsx @@ -31,7 +31,7 @@ type BranchNameProps = { // eslint-disable-next-line @typescript-eslint/no-explicit-any function BranchName(props: BranchNameProps, ref: ForwardedRef) { const {as: BaseComponent = 'a', className, children, sx, ...rest} = props - const enabled = useFeatureFlag('primer_react_css_modules_staff') + const enabled = useFeatureFlag('primer_react_css_modules_ga') if (enabled) { if (sx) {