diff --git a/package.json b/package.json index c8b1458..ab10c53 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-router-hook", - "version": "0.6.0", + "version": "0.6.1", "description": "Universal data fetching and lifecycle management for react router with multiple components", "main": "./lib/index.js", "scripts": { diff --git a/src/PropTypes.js b/src/PropTypes.js index f3426ff..4451138 100644 --- a/src/PropTypes.js +++ b/src/PropTypes.js @@ -1,4 +1,4 @@ -import { PropTypes } from 'react'; +import PropTypes from 'prop-types'; const { func, object, arrayOf, oneOfType, element, shape, string } = PropTypes;