diff --git a/.changeset/odd-seas-study.md b/.changeset/odd-seas-study.md new file mode 100644 index 00000000000..8a41ad5635e --- /dev/null +++ b/.changeset/odd-seas-study.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +Move BranchName component from team to staff flag diff --git a/packages/react/src/BranchName/BranchName.tsx b/packages/react/src/BranchName/BranchName.tsx index 4b6d7697c9f..d2d4556b577 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_team') + const enabled = useFeatureFlag('primer_react_css_modules_staff') if (enabled) { if (sx) {