diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-06-19 18:27:12 -0700 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-06-19 18:27:12 -0700 |
commit | 165deb08fdb8225c8e2fea6c6025aa6534a4c771 (patch) | |
tree | ab5996776db6445dcfb152bec901142a467b9cb3 /web/src/js/components/Header.jsx | |
parent | c4c9527fa0ff2cc9299082321845739261f41f8f (diff) | |
parent | d01e49c6d5e474700956a9b7f1171a4229bfa750 (diff) | |
download | mitmproxy-165deb08fdb8225c8e2fea6c6025aa6534a4c771.tar.gz mitmproxy-165deb08fdb8225c8e2fea6c6025aa6534a4c771.tar.bz2 mitmproxy-165deb08fdb8225c8e2fea6c6025aa6534a4c771.zip |
Merge remote-tracking branch 'jason/settings'
Diffstat (limited to 'web/src/js/components/Header.jsx')
-rw-r--r-- | web/src/js/components/Header.jsx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/web/src/js/components/Header.jsx b/web/src/js/components/Header.jsx index 93ca5154..ab25eb41 100644 --- a/web/src/js/components/Header.jsx +++ b/web/src/js/components/Header.jsx @@ -12,10 +12,6 @@ import {setActiveMenu} from '../ducks/ui.js' class Header extends Component { static entries = [MainMenu, ViewMenu, OptionMenu] - static propTypes = { - settings: PropTypes.object.isRequired, - } - handleClick(active, e) { e.preventDefault() this.props.setActiveMenu(active.title) @@ -24,7 +20,7 @@ class Header extends Component { } render() { - const { settings, updateLocation, query, selectedFlow, activeMenu} = this.props + const { updateLocation, query, selectedFlow, activeMenu} = this.props let entries = [...Header.entries] if(selectedFlow) @@ -47,10 +43,9 @@ class Header extends Component { </nav> <div className="menu"> <Active - settings={settings} updateLocation={updateLocation} query={query} - /> + /> </div> </header> ) |