Merge pull request #13532 from backstage/rugvip/stable

techdocs: fix addons not rendering on subpages with react router v6
This commit is contained in:
Patrik Oldsberg
2022-09-05 13:20:04 +02:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-techdocs': patch
---
Fixed a bug where addons wouldn't render on sub pages when using React Route v6 stable.
+1 -1
View File
@@ -68,7 +68,7 @@ export const EmbeddedDocsRouter = (props: PropsWithChildren<{}>) => {
element: <EntityPageDocs entity={entity} />,
children: [
{
path: '/*',
path: '*',
element: children,
},
],