Skip to content

Commit 09c8b84

Browse files
value updated
1 parent c528dea commit 09c8b84

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dotcom-rendering/src/components/EmailSignUpWrapper.stories.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const defaultArgs = {
2323
successDescription: "We'll send you The Recap every week",
2424
theme: 'sport',
2525
idApiUrl: 'https://idapi.theguardian.com',
26-
hideNewsletterForSubscribers: true, // Feature flag enabled by default in stories
26+
// hideNewsletterForSubscribers defaults to false (matching production default)
2727
} satisfies Story['args'];
2828

2929
// Loading state - shows placeholder while auth status is being determined
@@ -84,10 +84,12 @@ export const SignedInNotSubscribed: Story = {
8484

8585
// User is signed in and IS subscribed - component returns null (hidden)
8686
// Note: This story will render nothing as the component returns null when subscribed
87+
// Requires hideNewsletterForSubscribers: true to enable the subscription check
8788
export const SignedInAlreadySubscribed: Story = {
8889
args: {
8990
hidePrivacyMessage: false,
9091
...defaultArgs,
92+
hideNewsletterForSubscribers: true,
9193
},
9294
async beforeEach() {
9395
mocked(useNewsletterSubscription).mockReturnValue(true);

0 commit comments

Comments
 (0)