diff --git a/.changeset/selfish-onions-count.md b/.changeset/selfish-onions-count.md new file mode 100644 index 0000000000..ee4ea23ae8 --- /dev/null +++ b/.changeset/selfish-onions-count.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-catalog-react': patch +--- + +Added the proper type parameters to entityRouteRef. diff --git a/plugins/catalog-react/src/routes.ts b/plugins/catalog-react/src/routes.ts index 0fced32f59..7470b8030e 100644 --- a/plugins/catalog-react/src/routes.ts +++ b/plugins/catalog-react/src/routes.ts @@ -31,6 +31,7 @@ export const entityRoute = createRouteRef({ icon: NoIcon, path: ':namespace/:kind/:name/*', title: 'Entity', + params: ['namespace', 'kind', 'name'], }); export const entityRouteRef = entityRoute;