core-compat-api: async instead of Promise.resolve
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -58,7 +58,7 @@ export function convertLegacyPageExtension(
|
||||
params: {
|
||||
defaultPath: overrides?.defaultPath ?? `/${kebabName}`,
|
||||
routeRef: mountPoint && convertLegacyRouteRef(mountPoint),
|
||||
loader: () => Promise.resolve(compatWrapper(element)),
|
||||
loader: async () => compatWrapper(element),
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user