diff --git a/plugins/techdocs/src/alpha/NfsTechDocsReaderLayout.tsx b/plugins/techdocs/src/alpha/NfsTechDocsReaderLayout.tsx index 806d286ceb..724545a7a2 100644 --- a/plugins/techdocs/src/alpha/NfsTechDocsReaderLayout.tsx +++ b/plugins/techdocs/src/alpha/NfsTechDocsReaderLayout.tsx @@ -42,7 +42,7 @@ import { import { configApiRef, useApi, useRouteRef } from '@backstage/core-plugin-api'; import { TechDocsReaderPageContent } from '../reader/components/TechDocsReaderPageContent'; import { TechDocsReaderPageSubheader } from '../reader/components/TechDocsReaderPageSubheader'; -import { rootDocsRouteRef } from '../routes'; +import { rootRouteRef } from '../routes'; const skeleton = ; @@ -51,7 +51,7 @@ const NfsTechDocsReaderPageHeader = (props: PropsWithChildren<{}>) => { const addons = useTechDocsAddons(); const configApi = useApi(configApiRef); const entityPresentationApi = useApi(entityPresentationApiRef); - const docsRootLink = useRouteRef(rootDocsRouteRef)(); + const docsRootLink = useRouteRef(rootRouteRef)(); const { '*': path = '' } = useParams(); const {