Skip to content

Commit e81b8b0

Browse files
committed
Fix “Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.”
1 parent 3dca28f commit e81b8b0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "redux-devtools-filter-actions",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "A composable monitor for Redux DevTools with the ability to filter actions.",
55
"main": "lib/index.js",
66
"files": [
@@ -47,6 +47,7 @@
4747
"expect": "^1.6.0",
4848
"mocha": "^2.2.5",
4949
"mocha-jsdom": "^1.0.0",
50+
"prop-types": "^15.5.8",
5051
"rimraf": "^2.3.4",
5152
"webpack": "^1.11.0"
5253
},

src/FilterMonitor.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { cloneElement, Component, PropTypes } from 'react';
1+
import { cloneElement, Component } from 'react';
2+
import PropTypes from 'prop-types';
23
import mapValues from 'lodash/mapValues';
34
import reducer from './reducers';
45

0 commit comments

Comments
 (0)