await setup method (#18831)

This commit is contained in:
Niels Lyngsø
2025-03-31 10:09:10 +02:00
committed by GitHub
parent ae87f9ccd4
commit c422c82f21

View File

@@ -160,7 +160,7 @@ export async function resolvePageComponent(route: IComponentRoute, info: IRoutin
// Setup the component using the callback.
if (route.setup != null) {
route.setup(component, info);
await route.setup(component, info);
}
return component;