aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/common.js
diff options
context:
space:
mode:
authorJason <jason.daurus@gmail.com>2016-03-09 00:28:44 +0800
committerJason <jason.daurus@gmail.com>2016-03-09 00:28:44 +0800
commitdf8b21c08f98ead06ed371e475ad1dd22e28c74c (patch)
treeddac882b1fede4fdc5692764b24528f4a0922cfb /web/src/js/components/common.js
parentea3742c3938248c273be159d15ac49b4d2884ed8 (diff)
downloadmitmproxy-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.js3
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;
}
};