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

Display a more expressive error message when Gesture Handler receives more than one child #2131

Merged
merged 3 commits into from
Aug 23, 2022

Conversation

j-piasecki
Copy link
Member

Description

Display a more expressive error message when a Gesture Handler receives more than one child.

Test plan

Tested on the Example app.

// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
child.props.children
);
try {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same story here

@j-piasecki j-piasecki merged commit e88adde into main Aug 23, 2022
@j-piasecki j-piasecki deleted the @jpiasecki/nice-error-message-more-than-one-child branch August 23, 2022 13:39
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