react-modal-dialog
react-modal-dialog copied to clipboard
Undefined number in CloseCircle.js
Hi I am using this to my project,
but getting this error
Uncaught TypeError: Cannot read property 'number' of undefined
at eval (CloseCircle.js?5cea:48)
at Object.<anonymous> (bundle.js:1)
at e (bundle.js:1)
at eval (UnstyledFlexDialog.js?42b9:33)
at Object.<anonymous> (bundle.js:1)
at e (bundle.js:1)
at eval (FlexDialog.js?69c0:33)
at Object.<anonymous> (bundle.js:1)
at e (bundle.js:1)
at eval (index.js?f624:9)
@adilsaeed31 This one because you're using react@16, but sources get the PropTypes from 'react' package.
Is there any fix release for this?
@kjvenky use @Dean177's PR
"react-modal-dialog": "Dean177/react-modal-dialog#support\/bump-react",
See https://github.com/qimingweng/react-modal-dialog/pull/54