Skip to content

Conversation

@varsha-user
Copy link

Fixed an issue where clicking the 'No Thanks' button in the Stay Updated block at the bottom of the user page wouldn't close the block.

Which issue does this PR close?

Modified NewsletterSubscriptions.jsx to properly handle the 'No Thanks' when clicked and added functionality to collapse the newsletter block when 'No Thanks' is clicked.

Rationale for this change

The 'No Thanks' button in the Stay Updated newsletter subscription block was
not functioning as expected. When I clicked this button to dismiss the
newsletter prompt, the block remained visible instead of closing.

What changes are included in this PR?

Modified the NewsletterSubscription.jsx component to handle the 'No Thanks' button click event

Are these changes tested?

Yes, I have manually tested and verified that clicking the 'No Thanks' button now properly closes the newsletter block.

Are there any user-facing changes?

Yes, this is a user-facing bug fix:
Before: Users clicking 'No Thanks' would see no response, and the newsletter block remained visible
After: Users can now successfully dismiss the newsletter block by clicking 'No Thanks'

…bottom of the user page, that block wouldn't close. So I made changes in the NewsletterSubscriptions.jsx to make it collapses when 'No Thanks' is clicked.
@vercel
Copy link

vercel bot commented Dec 2, 2025

@varsha-user is attempting to deploy a commit to the eccentriccoder01's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

github-actions bot commented Dec 2, 2025

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant