Added the proper type parameters to entityRouteRef

This commit is contained in:
Fredrik Adelöw
2021-02-19 11:41:23 +01:00
parent 82a6292e19
commit 5c2e2863f4
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-react': patch
---
Added the proper type parameters to entityRouteRef.
+1
View File
@@ -31,6 +31,7 @@ export const entityRoute = createRouteRef({
icon: NoIcon,
path: ':namespace/:kind/:name/*',
title: 'Entity',
params: ['namespace', 'kind', 'name'],
});
export const entityRouteRef = entityRoute;