frontend-plugin-api: switch createPageExtension to use optional output
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -72,7 +72,7 @@ export function createPageExtension<
|
||||
output: {
|
||||
component: coreExtensionData.reactComponent,
|
||||
path: coreExtensionData.routePath,
|
||||
...(options.routeRef && { routeRef: coreExtensionData.routeRef }),
|
||||
routeRef: coreExtensionData.routeRef.optional(),
|
||||
},
|
||||
inputs: options.inputs,
|
||||
configSchema,
|
||||
|
||||
Reference in New Issue
Block a user