From 0ce2392ce62d1a6c1552bf180124bdc0b00d76f0 Mon Sep 17 00:00:00 2001 From: kou_hin Date: Thu, 29 Jun 2017 00:41:27 +0900 Subject: [PATCH] Fix prop-types --- package.json | 2 +- src/PropTypes.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;