-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I have a server action using react-pdf to generate a pdf. It works as intended. As soon as I add <PortableText /> from @portabletext/react-pdf it breaks. With the following error:
[TypeError: Cannot read properties of null (reading 'useMemo')] {
│ componentStack: '\n' +
│ ' at PortableText (/Users/eivindml/Developer/elsjekken/node_modules/.pnpm/@[email protected][email protected]/node_modules/@portabletext/react/src/react-portable-text.tsx:43:10)\n' +
│ ' at PortableText (/Users/eivindml/Developer/elsjekken/node_modules/.pnpm/@[email protected]/node_modules/@portabletext/react-pdf/src/pdf-portabletext.tsx:65:10)\n' +
│ ' at VIEW (<anonymous>)\n' +
│ ' at VIEW (<anonymous>)\n' +
│ ' at VIEW (<anonymous>)\n' +
│ ' at PAGE (<anonymous>)\n' +
│ ' at DOCUMENT (<anonymous>)'
│}
│Failed to send email: TypeError: Cannot read properties of null (reading 'props')
Metadata
Metadata
Assignees
Labels
No labels