1
0
mirror of https://github.com/flarum/core.git synced 2025-08-07 08:56:38 +02:00

mapRoutes: remove obsolete setting of routeName attr on components

This commit is contained in:
Alexander Skvortsov
2020-08-10 00:48:15 -04:00
committed by Franz Liedke
parent 35d76515d3
commit e8e4b64d7d

View File

@@ -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;
}