diff --git a/Counter.js b/Counter.js index 04222ed..57903ec 100644 --- a/Counter.js +++ b/Counter.js @@ -1,5 +1,6 @@ /*eslint-disable no-unused-vars */ -import React, { Component, PropTypes } from 'react' +import React from 'react'; +import PropTypes from 'prop-types'; const Counter = ({ value, onIncrement, onDecrement }) =>
diff --git a/package.json b/package.json index 3a660bc..cc6fd3a 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,9 @@ "license": "MIT", "dependencies": { "babel-polyfill": "6.3.14", - "react": "^0.14.3", - "react-dom": "^0.14.3", + "prop-types": "^15.7.2", + "react": "16.12.0", + "react-dom": "16.12.0", "redux": "^3.3.1", "redux-saga": "^0.15.0" },