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 failed PropType warning in DocumentBody #152

Merged
merged 1 commit into from
Feb 4, 2020
Merged

Fix failed PropType warning in DocumentBody #152

merged 1 commit into from
Feb 4, 2020

Conversation

nlarew
Copy link
Contributor

@nlarew nlarew commented Feb 4, 2020

Switches PropTypes.oneOf to PropTypes.oneOfType.

See https://jaketrent.com/post/react-oneof-vs-oneoftype/ for details

image

@nlarew nlarew requested a review from sophstad February 4, 2020 00:57
@sophstad sophstad merged commit a655dbb into master Feb 4, 2020
@sophstad sophstad deleted the proptypes branch February 4, 2020 01:00
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