mirror of
https://github.com/flarum/core.git
synced 2025-08-10 18:35:56 +02:00
mapRoutes: remove obsolete setting of routeName attr on components
This commit is contained in:
committed by
Franz Liedke
parent
35d76515d3
commit
e8e4b64d7d
@@ -13,8 +13,6 @@ export default function mapRoutes(routes, basePath = '') {
|
|||||||
for (const key in routes) {
|
for (const key in routes) {
|
||||||
const route = routes[key];
|
const route = routes[key];
|
||||||
|
|
||||||
// if (route.component) route.component.props.routeName = key;
|
|
||||||
|
|
||||||
map[basePath + route.path] = route.component;
|
map[basePath + route.path] = route.component;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user