diff --git a/.changeset/techdocs-dancers-battle.md b/.changeset/techdocs-dancers-battle.md new file mode 100644 index 0000000000..68c6c52414 --- /dev/null +++ b/.changeset/techdocs-dancers-battle.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-techdocs': patch +--- + +Add a `sub-route` path on the EntityDocs page to fix the blank screen error when navigating using sidebar links. diff --git a/plugins/techdocs/src/Router.tsx b/plugins/techdocs/src/Router.tsx index 0174e3457f..e04090089a 100644 --- a/plugins/techdocs/src/Router.tsx +++ b/plugins/techdocs/src/Router.tsx @@ -69,7 +69,9 @@ export const EmbeddedDocsRouter = (props: PropsWithChildren<{}>) => { return ( - }>{children} + }> + {children} + ); };