From 7b31064fe8537336343df40a4e503cf7a802e4b1 Mon Sep 17 00:00:00 2001 From: Tim Hansen Date: Mon, 3 Jan 2022 09:51:45 -0700 Subject: [PATCH] Add routeRef in catalog customization example Signed-off-by: Tim Hansen --- docs/features/software-catalog/catalog-customization.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/features/software-catalog/catalog-customization.md b/docs/features/software-catalog/catalog-customization.md index 7bb6b79d6f..821f39ff6e 100644 --- a/docs/features/software-catalog/catalog-customization.md +++ b/docs/features/software-catalog/catalog-customization.md @@ -30,12 +30,15 @@ export const CustomCatalogPage = ({ actions, initiallySelectedFilter = 'owned', }: CatalogPageProps) => { + const createComponentLink = useRouteRef( + catalogPlugin.externalRoutes.createComponent, + ); return ( }> - + All your software catalog entities