-
Notifications
You must be signed in to change notification settings - Fork 241
MNTOR-4291 + MNTOR-4290 - Bundle Announcements #5919
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
base: main
Are you sure you want to change the base?
Conversation
Preview URL 🚀 : https://blurts-server-pr-5919-mgjlpikfea-uk.a.run.app |
<PromptNoneAuth /> | ||
)} | ||
{children} | ||
<SubscriptionBillingProvider value={billing}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’ve introduced a SubscriptionBillingProvider
so we only read our subscription pricing once on the server and make it available everywhere via useSubscriptionBilling()
. This removes the need to pass bundleMonthlyPrice
through every <LocalizedAnnouncementString />
, keeps component props clean.
References:
Jira: MNTOR-4291 + MNTOR-4290
Figma: https://www.figma.com/design/KytF3NIQfR8OoWu0osldg7/Privacy-Products-Bundle-Specs?node-id=10162-42539&t=erP1TkZBHCnq5llt-4
Description
Screenshot (if applicable)
Not applicable.
How to test
Checklist (Definition of Done)