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/UploadContentButton.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/UploadContentButton.jsx')
-rw-r--r-- | web/src/js/components/ContentView/UploadContentButton.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/src/js/components/ContentView/UploadContentButton.jsx b/web/src/js/components/ContentView/UploadContentButton.jsx index de349af4..0021593f 100644 --- a/web/src/js/components/ContentView/UploadContentButton.jsx +++ b/web/src/js/components/ContentView/UploadContentButton.jsx @@ -1,4 +1,4 @@ -import { PropTypes } from 'react' +import PropTypes from 'prop-types' import FileChooser from '../common/FileChooser' UploadContentButton.propTypes = { @@ -6,7 +6,7 @@ UploadContentButton.propTypes = { } export default function UploadContentButton({ uploadContent }) { - + return ( <FileChooser icon="fa-upload" |