Skip to content

Commit

Permalink
fix: correctly renders component when using feature flags (carbon-des…
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewgallo authored Nov 5, 2024
1 parent 48203b5 commit c04f635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/.storybook/WithFeatureFlags/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const WithFeatureFlags = ({ flags, children }) => {
}, [flags]);

return (
<FeatureFlags flags={flags ? updatedFlags : allFlagsEnabled}>
<FeatureFlags flags={updatedFlags ?? allFlagsEnabled}>
<Annotation
type="feature-flags"
text={
Expand Down

0 comments on commit c04f635

Please sign in to comment.