Skip to content
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

Unsupported type undefined #117

Open
thesonpb opened this issue May 27, 2023 · 0 comments
Open

Unsupported type undefined #117

thesonpb opened this issue May 27, 2023 · 0 comments

Comments

@thesonpb
Copy link

I have encountered an issue while using the React-Notion library to render blocks from a Notion page. It seems that the library is not functioning properly with the current block structure of the Notion page.

When attempting to render the page, I noticed a console message stating "Unsupported type undefined". To investigate further, I set up a debugger and discovered that the problem is related to the block type. It appears that the library may not yet support the rendering of Paragraph blocks.

My Notion page primarily consists of basic elements such as headings and paragraphs. However, when I attempt to render the page using React-Notion, I encounter this error.

I believe it would be beneficial to enhance the React-Notion library's compatibility with various block types, including Paragraph blocks, to ensure a seamless rendering experience for users.

Steps to Reproduce:

Set up a Notion page with basic elements like headings and paragraphs.
Use the React-Notion library to render the page.
Check the console for any error messages.
Expected Behavior:
The React-Notion library should successfully render the Notion page blocks, including Paragraph blocks, without any error messages.

Actual Behavior:
The library throws an "Unsupported type undefined" error in the console, indicating an issue with the block type, possibly due to the lack of support for Paragraph blocks, and the React-Notion library render nothing to the screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant