diff --git a/plugins/techdocs/src/Router.tsx b/plugins/techdocs/src/Router.tsx
index b06fec8fb7..814bf3cf65 100644
--- a/plugins/techdocs/src/Router.tsx
+++ b/plugins/techdocs/src/Router.tsx
@@ -82,11 +82,7 @@ export const EmbeddedDocsRouter = (props: PropsWithChildren<{}>) => {
entity.metadata.annotations?.[TECHDOCS_EXTERNAL_ANNOTATION];
if (!projectId) {
- return (
-
- );
+ return ;
}
return element;