Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add unsubscribe functionality to NewsletterModal (elie222#209) #1

Closed
wants to merge 192 commits into from

Conversation

aryanprince
Copy link
Owner

  • Pass the mutate prop from parent component to the NewsletterModal component
  • Uses the useUnsubscribeButton hook to manage the newsletter unsubscription
  • On clicking the unsubscribe button from the modal, calls the onUnsubscribe function from the useUnsubscribeButton hook

Fixes elie222#209

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.

3 participants