diff options
author | cle1000 <cle1000.cb@gmail.com> | 2017-04-27 10:54:21 +0200 |
---|---|---|
committer | cle1000 <cle1000.cb@gmail.com> | 2017-04-27 10:54:21 +0200 |
commit | 115a31c9baff9907694c9f1d8c53dcc1e9fbb664 (patch) | |
tree | 8a30076396d7564d458930a46a709083a3400520 /web/src/js/components/ContentView/ContentViews.jsx | |
parent | 2a46f3851a468263b53298b643f92a36b713128e (diff) | |
download | mitmproxy-115a31c9baff9907694c9f1d8c53dcc1e9fbb664.tar.gz mitmproxy-115a31c9baff9907694c9f1d8c53dcc1e9fbb664.tar.bz2 mitmproxy-115a31c9baff9907694c9f1d8c53dcc1e9fbb664.zip |
change import of prop-types
Diffstat (limited to 'web/src/js/components/ContentView/ContentViews.jsx')
-rw-r--r-- | web/src/js/components/ContentView/ContentViews.jsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/web/src/js/components/ContentView/ContentViews.jsx b/web/src/js/components/ContentView/ContentViews.jsx index db239195..136188d4 100644 --- a/web/src/js/components/ContentView/ContentViews.jsx +++ b/web/src/js/components/ContentView/ContentViews.jsx @@ -1,4 +1,5 @@ -import React, { PropTypes, Component } from 'react' +import React, { Component } from 'react' +import PropTypes from 'prop-types' import { connect } from 'react-redux' import { setContentViewDescription, setContent } from '../../ducks/ui/flow' import ContentLoader from './ContentLoader' @@ -21,7 +22,7 @@ function ViewImage({ flow, message }) { } Edit.propTypes = { - content: React.PropTypes.string.isRequired, + content: PropTypes.string.isRequired, } function Edit({ content, onChange }) { |