From 6877f2c8a784d659ecca3dfe47bbcfd81831f19d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Tue, 6 Oct 2015 15:29:01 +0200 Subject: [PATCH] Minor renaming of ProxyHandler --- js/components/ascribe_routes/proxy_route.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/components/ascribe_routes/proxy_route.js b/js/components/ascribe_routes/proxy_route.js index 7cb0c30b..bb8b5d3a 100644 --- a/js/components/ascribe_routes/proxy_route.js +++ b/js/components/ascribe_routes/proxy_route.js @@ -23,8 +23,8 @@ const ProxyRoute = React.createClass({ const [ route ] = createRoutes(element); const Component = route.component; - const { proxyHandler } = element.props; - route.component = proxyHandler(Component); + const ProxyHandler = element.props.proxyHandler; + route.component = ProxyHandler(Component); return route; }