jedireza / aqua

:bulb: A website and user system starter
https://jedireza.github.io/aqua/
MIT License
1.38k stars 356 forks source link

Fixing PropTypes warning by using number instead of integer #279

Closed jlazar closed 6 years ago

jlazar commented 6 years ago

Warning in console:

Warning: Invalid argument supplid to oneOfType. Expected an array of check functions, but received undefined at index 2.

If integer is desired, could use https://www.npmjs.com/package/react-extra-prop-types

jedireza commented 6 years ago

Thank you for creating a PR! I'm in the middle of a big update for hapi17 and my branch does include a fix for this.