fix: main index not found in group (#1710)
This commit is contained in:
@@ -1183,6 +1183,11 @@ export function pathToPattern(path: string): string {
|
||||
route += "/" + pattern;
|
||||
}
|
||||
|
||||
// Case: /(group)/index.tsx
|
||||
if (route === "") {
|
||||
route = "/";
|
||||
}
|
||||
|
||||
return route;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user