react-notion crashes when rendering untitled toggle block
peguimasid opened this issue · 0 comments
peguimasid commented
Library Crashes When Rendering Untitled Toggle Block
Description:
Encountering a crash in the library when attempting to render a toggle block without a title (i.e., only with the placeholder "Toggle").
Problem:
The application crashes with a TypeError: Cannot read properties of undefined (reading 'title') when attempting to render a toggle block without a specified title.
Reproduction Steps:
- Visit the original Notion page containing a toggle block without a title: Original Notion Page
- Attempt to render the page using React Notion: Rendered Page
Expected Behavior:
The library should handle toggle blocks without titles gracefully and avoid crashing the application.
Error Screenshot:
