From 76cbd8a54b098bce22c6bb7ccf97857bd2b46626 Mon Sep 17 00:00:00 2001 From: Camila Belo Date: Tue, 9 Jan 2024 09:51:39 +0100 Subject: [PATCH] docs(frontend-system): fix route subpaths example Co-authored-by: Patrik Oldsberg Signed-off-by: Camila Belo --- docs/frontend-system/architecture/07-routes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/frontend-system/architecture/07-routes.md b/docs/frontend-system/architecture/07-routes.md index 0b08975ada..422cecdf4d 100644 --- a/docs/frontend-system/architecture/07-routes.md +++ b/docs/frontend-system/architecture/07-routes.md @@ -400,13 +400,13 @@ const rootPage = createPageExtension({ defaultPath: '/' routeRef: rootRouteRef, loader: async () => { - const { path } = useRouteRef(detailsRouteRef)(); + const detailsRouteRef = useRouteRef(detailsRouteRef)(); return (

Index Page

- } /> + } />
);