diff options
author | Jason <jason.daurus@gmail.com> | 2016-03-09 00:28:44 +0800 |
---|---|---|
committer | Jason <jason.daurus@gmail.com> | 2016-03-09 00:28:44 +0800 |
commit | df8b21c08f98ead06ed371e475ad1dd22e28c74c (patch) | |
tree | ddac882b1fede4fdc5692764b24528f4a0922cfb /web/src/js/components/common.js | |
parent | ea3742c3938248c273be159d15ac49b4d2884ed8 (diff) | |
download | mitmproxy-df8b21c08f98ead06ed371e475ad1dd22e28c74c.tar.gz mitmproxy-df8b21c08f98ead06ed371e475ad1dd22e28c74c.tar.bz2 mitmproxy-df8b21c08f98ead06ed371e475ad1dd22e28c74c.zip |
[web] eliminate common.Router.getParams
Diffstat (limited to 'web/src/js/components/common.js')
-rw-r--r-- | web/src/js/components/common.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/web/src/js/components/common.js b/web/src/js/components/common.js index 447e6eec..23e0a434 100644 --- a/web/src/js/components/common.js +++ b/web/src/js/components/common.js @@ -53,9 +53,6 @@ export var Router = { // For whatever reason, react-router always returns the same object, which makes comparing // the current props with nextProps impossible. As a workaround, we just clone the query object. return _.clone(this.context.location.query); - }, - getParams: function() { - return this.props.routeParams; } }; |