diff --git a/package.json b/package.json index b5b733a..f875235 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,7 @@ }, "dependencies": { "adblockdetect": "^0.0.1", + "prop-types": "^15.7.2", "react": "^15.4.2" } } diff --git a/src/index.js b/src/index.js index edf0823..3c8c439 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,5 @@ -import { Component, PropTypes } from 'react'; +import { Component } from 'react'; +import PropTypes from 'prop-types'; import { detected } from 'adblockdetect';