diff options
author | Maximilian Hils <git@maximilianhils.com> | 2017-04-27 18:29:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-27 18:29:57 +0200 |
commit | 5f91b7a45d0b983d3e0f3fff1be8af93736d35c6 (patch) | |
tree | 8a30076396d7564d458930a46a709083a3400520 /web/src/js/components/ContentView/ContentViewOptions.jsx | |
parent | 2a46f3851a468263b53298b643f92a36b713128e (diff) | |
parent | 115a31c9baff9907694c9f1d8c53dcc1e9fbb664 (diff) | |
download | mitmproxy-5f91b7a45d0b983d3e0f3fff1be8af93736d35c6.tar.gz mitmproxy-5f91b7a45d0b983d3e0f3fff1be8af93736d35c6.tar.bz2 mitmproxy-5f91b7a45d0b983d3e0f3fff1be8af93736d35c6.zip |
Merge pull request #2275 from mitmproxy/mitmweb-change-react-prop-types
change import of prop-types
Diffstat (limited to 'web/src/js/components/ContentView/ContentViewOptions.jsx')
-rw-r--r-- | web/src/js/components/ContentView/ContentViewOptions.jsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/web/src/js/components/ContentView/ContentViewOptions.jsx b/web/src/js/components/ContentView/ContentViewOptions.jsx index 1ec9013e..e3cc39cd 100644 --- a/web/src/js/components/ContentView/ContentViewOptions.jsx +++ b/web/src/js/components/ContentView/ContentViewOptions.jsx @@ -1,12 +1,13 @@ -import React, { PropTypes } from 'react' +import React from 'react' +import PropTypes from 'prop-types' import { connect } from 'react-redux' import ViewSelector from './ViewSelector' import UploadContentButton from './UploadContentButton' import DownloadContentButton from './DownloadContentButton' ContentViewOptions.propTypes = { - flow: React.PropTypes.object.isRequired, - message: React.PropTypes.object.isRequired, + flow: PropTypes.object.isRequired, + message: PropTypes.object.isRequired, } function ContentViewOptions({ flow, message, uploadContent, readonly, contentViewDescription }) { |