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

react-notion crashes when rendering untitled toggle block #120

Closed
peguimasid opened this issue Mar 21, 2024 · 0 comments
Closed

react-notion crashes when rendering untitled toggle block #120

peguimasid opened this issue Mar 21, 2024 · 0 comments

Comments

@peguimasid
Copy link

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:

  1. Visit the original Notion page containing a toggle block without a title: Original Notion Page
  2. 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:

Screenshot 2024-03-21 at 11 57 30 AM
@peguimasid peguimasid closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2024
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