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

fix: lib crashes when receiving empty events #971

Merged
merged 1 commit into from Nov 11, 2023

Conversation

Lespoir
Copy link
Contributor

@Lespoir Lespoir commented Nov 9, 2023

Lib crashes when sending an empty events array using the new enrichedEvents function.

  • Added a clause to return empty when receiving an empty array
  • Added unit test

Copy link

vercel bot commented Nov 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-big-calendar ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 9, 2023 3:24pm

@Lespoir
Copy link
Contributor Author

Lespoir commented Nov 9, 2023

@acro5piano Could you please take a look

@acro5piano
Copy link
Owner

acro5piano commented Nov 9, 2023 via email

@acro5piano
Copy link
Owner

@Lespoir Thanks!

@acro5piano acro5piano merged commit d64c625 into acro5piano:main Nov 11, 2023
2 checks passed
@acro5piano
Copy link
Owner

Released on v4.7.1

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

Successfully merging this pull request may close these issues.

None yet

2 participants