From 3675e7120c7fc9935ee73c2bc27bb7af5ed893f3 Mon Sep 17 00:00:00 2001 From: Eric Peterson Date: Mon, 21 Feb 2022 17:12:50 +0100 Subject: [PATCH] Minor feedback Signed-off-by: Eric Peterson --- .changeset/healthy-shoes-flash.md | 2 +- plugins/techdocs/src/reader/components/TechDocsPage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.changeset/healthy-shoes-flash.md b/.changeset/healthy-shoes-flash.md index 7e1619e9ec..5e255020da 100644 --- a/.changeset/healthy-shoes-flash.md +++ b/.changeset/healthy-shoes-flash.md @@ -1,5 +1,5 @@ --- -'@backstage/plugin-techdocs': minor +'@backstage/plugin-techdocs': patch --- Changed to use from createApp diff --git a/plugins/techdocs/src/reader/components/TechDocsPage.tsx b/plugins/techdocs/src/reader/components/TechDocsPage.tsx index c351f88f6e..d96bed6b60 100644 --- a/plugins/techdocs/src/reader/components/TechDocsPage.tsx +++ b/plugins/techdocs/src/reader/components/TechDocsPage.tsx @@ -41,7 +41,7 @@ export type TechDocsPageProps = { }; export const TechDocsPage = ({ children }: TechDocsPageProps) => { - const NotFoundErrorPage = useApp().getComponents().NotFoundErrorPage; + const { NotFoundErrorPage } = useApp().getComponents(); const outlet = useOutlet(); const [documentReady, setDocumentReady] = useState(false);