You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried using https://github.com/NotionX/react-notion-x with same response. But got error TypeError: Cannot convert undefined or null to object <NotionRenderer recordMap={blocks} fullPage={true} darkMode={false} />
Am I missing somethig or should I transform the api response before passing on to NotionRenderer ?
Is notion-api-worker necessary for react-notion to work ?
The text was updated successfully, but these errors were encountered:
I am using
@notionhq/client
to get pagesMy page
https://vishwasraj.notion.site/hello-world-8fb2880e72204bdb8b05fa8b4653fdfe
Request Setup
getStaticProps
Response
Template
Tried using https://github.com/NotionX/react-notion-x with same response. But got error
TypeError: Cannot convert undefined or null to object
<NotionRenderer recordMap={blocks} fullPage={true} darkMode={false} />
I am following this blog post
https://splitbee.io/blog/notion-as-cms-using-nextjs
I saw this api endpoint. The structure seems to be very different than the one I am currently getting from notion api.
https://notion-api.splitbee.io/v1/page/2e22de6b770e4166be301490f6ffd420
Am I missing somethig or should I transform the api response before passing on to
NotionRenderer
?Is
notion-api-worker
necessary for react-notion to work ?The text was updated successfully, but these errors were encountered: