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

Require correct prop-type in OptionsInputKeys #506

Merged
merged 1 commit into from
Oct 17, 2018
Merged

Require correct prop-type in OptionsInputKeys #506

merged 1 commit into from
Oct 17, 2018

Conversation

jkemperman
Copy link
Contributor

An object like {1: 'S', 2: 'D', ...} is passed to OptionsInputKeys, but it expects an array, so it complained in development. By changing it to expect an object with string values instead, it stops complaining.

An object like `{1: 'S', 2: 'D', ...}` is passed to `OptionsInputKeys`, but it
expects an array, so it broke. By changing it to expect an object with string
values instead, it works fine.
@jkemperman jkemperman changed the title Require correct type with prop-types Require correct prop-type in OptionsInputKeys Oct 15, 2018
Copy link
Member

@resir014 resir014 left a comment

Choose a reason for hiding this comment

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

Thanks!

@resir014 resir014 merged commit 3d1ecd2 into bemusic:master Oct 17, 2018
@jkemperman jkemperman deleted the fix-protypes-error branch October 18, 2018 07:14
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