Skip to content

Commit 8573ed7

Browse files
committed
Use prop-types lib instead of React.PropTypes
1 parent 9782e30 commit 8573ed7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"dependencies": {
99
"cuid": "^1.3.8",
1010
"lodash": "^4.17.4",
11+
"prop-types": "^15.5.10",
1112
"react": "^15.6.1",
1213
"react-dom": "^15.6.1",
1314
"react-redux": "^5.0.5",

src/common/components/FormEditWrapper.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, {Component, PropTypes} from "react";
1+
import React, {Component} from "react";
2+
import PropTypes from "prop-types"
23

34
import {noop, debounce, defaults, values} from "lodash";
45

0 commit comments

Comments
 (0)