oatycreates/scheduler-for-toggl

Files that include react-timekeeper display warning "Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead."

Closed this issue · 1 comments

This warning is displayed on any files that include react-timekeeper through the TimePicker component.

It appears to be a version dependency issue with that package. As the warning suggests, changing react-timekeeper to use the prop-types NPM package should resolve the issue.

Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

Resolved with mentioned PR to react-timekeeper. The package in use has been updated in this project to capture the fix.