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

Invalid argument to oneOf #1177

Closed
flipvrijn opened this issue Jan 18, 2017 · 2 comments · Fixed by #1176
Closed

Invalid argument to oneOf #1177

flipvrijn opened this issue Jan 18, 2017 · 2 comments · Fixed by #1176
Labels

Comments

@flipvrijn
Copy link
Contributor

Steps

  1. Use the Segment component

Expected Result

No warnings

Actual Result

Get warning:
warning.js:36 Warning: Invalid argument supplied to oneOf, expected an instance of array.

Version

0.64.1

Source code origin

Warning comes from this line:
https://github.com/Semantic-Org/Semantic-UI-React/blob/master/src/elements/Segment/Segment.js#L90

@layershifter
Copy link
Member

layershifter commented Jan 18, 2017

Thanks for report. This will be fixed in #1176.

@levithomason
Copy link
Member

Fixed in [email protected].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants