StructuredText not working in NextJS 13 App Dir

I have opened up a github ticket here about the StructuredText component in the react-datocms package throwing errors when used in the Nextjs13 app dir.

Is there a workaround or fix?

Hello @wonderkiwi

We just shipped react-datocms v4.0.13 that solves this issue!

Thank you for letting us know!