Skip to content

Commit 2316f42

Browse files
committed
install and use prop-types over React.PropTypes
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
1 parent 32ea675 commit 2316f42

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"matrix-react-sdk": "0.10.2",
7171
"modernizr": "^3.1.0",
7272
"pako": "^1.0.5",
73+
"prop-types": "^15.5.10",
7374
"react": "^15.6.0",
7475
"react-dnd": "^2.1.4",
7576
"react-dnd-html5-backend": "^2.1.2",

‎src/components/views/context_menus/GenericTextContextMenu.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ limitations under the License.
1616

1717
'use strict';
1818

19-
import React, {PropTypes} from 'react';
19+
import React from 'react';
20+
import PropTypes from 'prop-types';
2021

2122
export default class GenericTextContextMenu extends React.Component {
2223
static PropTypes = {

0 commit comments

Comments
 (0)