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 incorrect prop types recognition #68

Merged
merged 1 commit into from
Aug 30, 2024
Merged

fix incorrect prop types recognition #68

merged 1 commit into from
Aug 30, 2024

Conversation

CiotkaCierpienia
Copy link
Contributor

This fix warnings:

  • Warning: Failed prop type: Content: prop type headerProps is invalid; it must be a function, usually from the prop-types package, but received object.This often happens because of typos such as PropTypes.function instead of PropTypes.func.
  • Warning: Failed prop type: Content: prop type paragraphProps is invalid; it must be a function, usually from the prop-types package, but received object.This often happens because of typos such as PropTypes.function instead of PropTypes.func.
  • Warning: Failed prop type: Content: prop type youTubeEmbedProps is invalid; it must be a function, usually from the prop-types package, but received object.This often happens because of typos such as PropTypes.function instead of PropTypes.func.
  • etc.

Caused by compilation of propTypes as function instead of object

@trzcina trzcina merged commit e94187e into master Aug 30, 2024
1 check passed
@trzcina trzcina deleted the bugfix/25182 branch August 30, 2024 06:23
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.

2 participants