Skip to content

Customize Component Rendering throws 'specialDay' error in storybook #2806

Description

@sceniclife

Check that this is really a bug

  • I confirm

Reproduction link

https://bigcalendar.github.io/react-big-calendar/?path=/story/examples--example-8

Bug description

When switching to another view in this storybook, you get the error:

Cannot read properties of undefined (reading 'specialDay')

Expected Behavior

Able to see other views

Actual Behavior

Cannot read properties of undefined (reading 'specialDay')

react-big-calendar version

1.20.0

React version

19.2.6

Platform/Target and Browser Versions

Windows

Validations

  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a react-big-calendar issue and not an implementation issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions