diff options
author | Matthew Shao <me@matshao.com> | 2017-06-02 09:19:44 +0800 |
---|---|---|
committer | Matthew Shao <me@matshao.com> | 2017-06-02 09:19:44 +0800 |
commit | 950810accbc3523316017b579c10b4e25ad0ce6d (patch) | |
tree | f2512cf9b754a2f6000514f26d87d8eecaf8b769 /web/src/js/components/ContentView/ContentViewOptions.jsx | |
parent | ef9ee67c19662b033581a70a0658348f50694813 (diff) | |
download | mitmproxy-950810accbc3523316017b579c10b4e25ad0ce6d.tar.gz mitmproxy-950810accbc3523316017b579c10b4e25ad0ce6d.tar.bz2 mitmproxy-950810accbc3523316017b579c10b4e25ad0ce6d.zip |
[web] Update tests for js/components/ContentView/ContentViewOptions.jsx
Diffstat (limited to 'web/src/js/components/ContentView/ContentViewOptions.jsx')
-rw-r--r-- | web/src/js/components/ContentView/ContentViewOptions.jsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/web/src/js/components/ContentView/ContentViewOptions.jsx b/web/src/js/components/ContentView/ContentViewOptions.jsx index 109fb861..e3cc39cd 100644 --- a/web/src/js/components/ContentView/ContentViewOptions.jsx +++ b/web/src/js/components/ContentView/ContentViewOptions.jsx @@ -4,7 +4,6 @@ import { connect } from 'react-redux' import ViewSelector from './ViewSelector' import UploadContentButton from './UploadContentButton' import DownloadContentButton from './DownloadContentButton' -import { uploadContent } from '../../ducks/flows' ContentViewOptions.propTypes = { flow: PropTypes.object.isRequired, @@ -29,8 +28,5 @@ export default connect( state => ({ contentViewDescription: state.ui.flow.viewDescription, readonly: !state.ui.flow.modifiedFlow, - }), - { - uploadContent: uploadContent - } + }) )(ContentViewOptions) |