From e8e4b64d7de9c6a5dd1eec8872a8159a198061a0 Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Mon, 10 Aug 2020 00:48:15 -0400 Subject: [PATCH] mapRoutes: remove obsolete setting of routeName attr on components --- js/src/common/utils/mapRoutes.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/src/common/utils/mapRoutes.js b/js/src/common/utils/mapRoutes.js index 902e9b196..16c3651d9 100644 --- a/js/src/common/utils/mapRoutes.js +++ b/js/src/common/utils/mapRoutes.js @@ -13,8 +13,6 @@ export default function mapRoutes(routes, basePath = '') { for (const key in routes) { const route = routes[key]; - // if (route.component) route.component.props.routeName = key; - map[basePath + route.path] = route.component; }