From 70fdbad26a1aa79378804706309b0fa821719f92 Mon Sep 17 00:00:00 2001 From: Camila Belo Date: Thu, 11 Jan 2024 17:40:06 +0100 Subject: [PATCH] docs(frontend-system): export route when providing refs Co-authored-by: Patrik Oldsberg Signed-off-by: Camila Belo --- docs/frontend-system/architecture/07-routes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/frontend-system/architecture/07-routes.md b/docs/frontend-system/architecture/07-routes.md index 2eb10b7fc9..52edea5de9 100644 --- a/docs/frontend-system/architecture/07-routes.md +++ b/docs/frontend-system/architecture/07-routes.md @@ -65,7 +65,7 @@ The code snippet of the previous section does not indicate which plugin the rout // plugins/catalog/src/routes.ts import { createRouteRef } from '@backstage/frontend-plugin-api'; -const rootRouteRef = createRouteRef(); // [1] +export const rootRouteRef = createRouteRef(); // [1] // plugins/catalog/src/plugin.tsx import { createPlugin, createPageExtension } from '@backstage/frontend-plugin-api';