Skip to content

Commit 307cf72

Browse files
committed
fix
1 parent ea83c3d commit 307cf72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/utils/sanitize.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const constructTree = (routes: any, parentId?: string): RawNodeDatum[] => {
6161
if (route.parentId === parentId) {
6262
if (routeMap.get(key)) {
6363
nodes.push(routeMap.get(key))
64-
return nodes
64+
continue
6565
}
6666
const url = convertReactRouterPathToUrl(routes, route)
6767
const node: RawNodeDatum = {

0 commit comments

Comments
 (0)