aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/ContentView/ContentViewOptions.jsx
diff options
context:
space:
mode:
authorcle1000 <cle1000.cb@gmail.com>2017-04-27 10:54:21 +0200
committercle1000 <cle1000.cb@gmail.com>2017-04-27 10:54:21 +0200
commit115a31c9baff9907694c9f1d8c53dcc1e9fbb664 (patch)
tree8a30076396d7564d458930a46a709083a3400520 /web/src/js/components/ContentView/ContentViewOptions.jsx
parent2a46f3851a468263b53298b643f92a36b713128e (diff)
downloadmitmproxy-115a31c9baff9907694c9f1d8c53dcc1e9fbb664.tar.gz
mitmproxy-115a31c9baff9907694c9f1d8c53dcc1e9fbb664.tar.bz2
mitmproxy-115a31c9baff9907694c9f1d8c53dcc1e9fbb664.zip
change import of prop-types
Diffstat (limited to 'web/src/js/components/ContentView/ContentViewOptions.jsx')
-rw-r--r--web/src/js/components/ContentView/ContentViewOptions.jsx7
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 }) {