From df8b21c08f98ead06ed371e475ad1dd22e28c74c Mon Sep 17 00:00:00 2001 From: Jason Date: Wed, 9 Mar 2016 00:28:44 +0800 Subject: [web] eliminate common.Router.getParams --- web/src/js/components/common.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'web/src/js/components/common.js') 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; } }; -- cgit v1.2.3