ui-next: use route name

This commit is contained in:
Baoshuo committed 2026-05-10 01:12:47 +08:00
1 parent f753d1b16e
commit b5ec79d5d6
1 file changed
+1 -1
+1 -1
View File
@@ -86,7 +86,7 @@ export async function apply(ctx: Context) {
async render(name, args, context) {
const data: PageData = {
HYDRO_INJECTED: true,
name,
name: context.handler.context._matchedRouteName,
args,
url: context.handler.context.req.url!,
routeMap: ctx.server.routeMap,