react-email icon indicating copy to clipboard operation
react-email copied to clipboard

Markdown component error "value.includes is not a function" after updating to latest version

Open Hainesy opened this issue 2 years ago • 1 comments

Describe the Bug

After upgrading from version 0.0.15 to 0.0.16 of @react-email/components, I now get this error thrown from the Markdown component.

image

Which package is affected (leave empty if unsure)

@react-email/components

Link to the code that reproduces this issue

N/A

To Reproduce

For me, simply using the ReactEmailMarkdown component with version 0.0.16 caused the problem.

Expected Behavior

Not throw an error.

What's your node version? (if relevant)

No response

Hainesy avatar Apr 19 '24 13:04 Hainesy

I think this might be fixed on canary, can you try @react-email/[email protected]?

gabrielmfern avatar Apr 19 '24 13:04 gabrielmfern

Closing this as stale. If the issue is still present, let me know with a reproduction and I'll reopen.

gabrielmfern avatar Jul 26 '24 22:07 gabrielmfern