diff options
author | Jason <jason.daurus@gmail.com> | 2016-06-19 02:53:15 +0800 |
---|---|---|
committer | Jason <jason.daurus@gmail.com> | 2016-06-19 02:53:15 +0800 |
commit | d01e49c6d5e474700956a9b7f1171a4229bfa750 (patch) | |
tree | 1f373fc643dd077f24a8738f793d91a1da43d384 /web/src/js/components/ProxyApp.jsx | |
parent | 23b976a999f41439e83c1010474ec9dc680b8486 (diff) | |
download | mitmproxy-d01e49c6d5e474700956a9b7f1171a4229bfa750.tar.gz mitmproxy-d01e49c6d5e474700956a9b7f1171a4229bfa750.tar.bz2 mitmproxy-d01e49c6d5e474700956a9b7f1171a4229bfa750.zip |
[web] replace SetttingsActions.update with settings.updateSettings
Diffstat (limited to 'web/src/js/components/ProxyApp.jsx')
-rw-r--r-- | web/src/js/components/ProxyApp.jsx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/web/src/js/components/ProxyApp.jsx b/web/src/js/components/ProxyApp.jsx index 39cadff5..5d795b57 100644 --- a/web/src/js/components/ProxyApp.jsx +++ b/web/src/js/components/ProxyApp.jsx @@ -111,11 +111,11 @@ class ProxyAppMain extends Component { } render() { - const { showEventLog, location, children, settings } = this.props + const { showEventLog, location, children } = this.props const query = this.getQuery() return ( <div id="container" tabIndex="0" onKeyDown={this.onKeyDown}> - <Header ref="header" settings={settings} updateLocation={this.updateLocation} query={query} /> + <Header ref="header" updateLocation={this.updateLocation} query={query} /> {React.cloneElement( children, { ref: 'view', location, query, updateLocation: this.updateLocation } @@ -123,7 +123,7 @@ class ProxyAppMain extends Component { {showEventLog && ( <EventLog key="eventlog"/> )} - <Footer settings={settings}/> + <Footer /> </div> ) } @@ -132,6 +132,5 @@ class ProxyAppMain extends Component { export default connect( state => ({ showEventLog: state.eventLog.visible, - settings: state.settings.settings, }) )(ProxyAppMain) |