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(react): fix broken prop type definition #27

Merged
merged 1 commit into from
Jun 28, 2019

Conversation

skipjack
Copy link
Contributor

You need to pass a valid prop checking function to PropTypes.arrayOf. This caused an error to be thrown in development for me:

Warning: Failed prop type: Unexpected token function

You need to pass a valid prop checking function to `PropTypes.arrayOf`. This caused
an error to be thrown in development for me:

```
Warning: Failed prop type: Unexpected token function
```
@codecov-io
Copy link

Codecov Report

Merging #27 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #27   +/-   ##
=======================================
  Coverage   93.92%   93.92%           
=======================================
  Files          15       15           
  Lines         477      477           
  Branches      102      102           
=======================================
  Hits          448      448           
  Misses         23       23           
  Partials        6        6
Impacted Files Coverage Δ
packages/bbob-react/src/Component.js 100% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 09ff9af...4fea98d. Read the comment docs.

@skipjack skipjack mentioned this pull request Jun 27, 2019
7 tasks
@JiLiZART JiLiZART changed the title fix(bbob-react): fix broken prop type definition fix(react): fix broken prop type definition Jun 28, 2019
@JiLiZART JiLiZART merged commit 19d7ff2 into JiLiZART:master Jun 28, 2019
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.

3 participants