diff --git a/packages/frontend-plugin-api/src/blueprints/PluginWrapperBlueprint.tsx b/packages/frontend-plugin-api/src/blueprints/PluginWrapperBlueprint.tsx index 4bec4a4390..f6f673bd93 100644 --- a/packages/frontend-plugin-api/src/blueprints/PluginWrapperBlueprint.tsx +++ b/packages/frontend-plugin-api/src/blueprints/PluginWrapperBlueprint.tsx @@ -42,13 +42,7 @@ export const PluginWrapperBlueprint = createExtensionBlueprint({ component: ComponentType<{ children: ReactNode }>; }>; }) { - return createExtensionBlueprintParams( - params as { - loader: () => Promise<{ - component: ComponentType<{ children: ReactNode }>; - }>; - }, - ); + return createExtensionBlueprintParams(params); }, *factory(params) { yield wrapperDataRef(params.loader);