-
Notifications
You must be signed in to change notification settings - Fork 224
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
MNTOR-3902 - Design changes to monthly report emails #5530
Conversation
Preview URL 🚀 : https://blurts-server-pr-5530-mgjlpikfea-uk.a.run.app |
@@ -9,7 +9,7 @@ import { ReactNode } from "react"; | |||
// to avoid this error: | |||
// > Uncaught ReferenceError: MessageChannel is not defined | |||
// See https://github.com/facebook/react/issues/31827#issuecomment-2563094822 | |||
import { renderToStaticMarkup } from "react-dom/server.edge"; | |||
import { renderToStaticMarkup } from "react-dom/server"; |
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.
Question: Was this supposed to be changed back to import { renderToStaticMarkup } from "react-dom/server.edge";
?
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.
No, it should be .edge
, I just removed it to be able to test on storybook.
Cleanup completed - database 'blurts-server-pr-5530' destroyed, cloud run service 'blurts-server-pr-5530' destroyed |
References:
Jira: MNTOR-3902
Figma: https://www.figma.com/design/Z7pfHXJTSG5Szm3UrkYsVx/Emails-v2.0?node-id=1086-21087&t=wfCPYxaRZjomm7mv-0
Description
Adds UI updates to the Monthly free activity email.
Storybook previews don't seem to be working, due to the React upgrade (thread can be found here)
To test locally, remove
.edge
from theimport { renderToStaticMarkup } from "react-dom/server.edge"
import line inStorybookEmailRenderer.tsx
to be able to see the story previews.Screenshot (if applicable)
Not applicable.
How to test
Checklist (Definition of Done)