frontend-plugin-api,catalog-react: remove default* prefix from blueprint params
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -58,7 +58,8 @@ const visualizerPlugin: FrontendPlugin<
|
||||
>;
|
||||
inputs: {};
|
||||
params: {
|
||||
defaultPath: string;
|
||||
defaultPath?: [Error: `Use the 'path' param instead`];
|
||||
path: string;
|
||||
loader: () => Promise<JSX.Element>;
|
||||
routeRef?: RouteRef;
|
||||
};
|
||||
|
||||
@@ -26,7 +26,7 @@ const rootRouteRef = createRouteRef();
|
||||
|
||||
const appVisualizerPage = PageBlueprint.make({
|
||||
params: {
|
||||
defaultPath: '/visualizer',
|
||||
path: '/visualizer',
|
||||
routeRef: rootRouteRef,
|
||||
loader: () =>
|
||||
import('./components/AppVisualizerPage').then(m => (
|
||||
|
||||
Reference in New Issue
Block a user