Skip to content

Commit 1925d80

Browse files
authored
SelectPanel: Fix typo with FF name (#6012)
1 parent 239712c commit 1925d80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react/.storybook/preview.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ export const decorators = [
303303
<div {...wrapperProps}>
304304
<BaseStyles>
305305
{showSurroundingElements ? <a href="https://github.com/primer/react">Primer documentation</a> : ''}
306-
<FeatureFlags flags={{primer_react_action_list_item_as_button: true}}>
306+
<FeatureFlags>
307307
<Story {...context} />
308308
</FeatureFlags>
309309
{showSurroundingElements ? <a href="https://github.com/primer/react">Primer documentation</a> : ''}

packages/react/src/SelectPanel/SelectPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ function Panel({
186186
const [needsNoItemsAnnouncement, setNeedsNoItemsAnnouncement] = useState<boolean>(false)
187187
const isNarrowScreenSize = useResponsiveValue({narrow: true, regular: false, wide: false}, false)
188188

189-
const usingModernActionList = useFeatureFlag('primer_react_select_panel_modern_action_list')
189+
const usingModernActionList = useFeatureFlag('primer_react_select_panel_with_modern_action_list')
190190
const usingFullScreenOnNarrow = useFeatureFlag('primer_react_select_panel_fullscreen_on_narrow')
191191

192192
// Single select modals work differently, they have an intermediate state where the user has selected an item but

0 commit comments

Comments
 (0)