From b16ab8c69ff8b307a402026208da1ec0f01d0c24 Mon Sep 17 00:00:00 2001 From: iCrawl Date: Tue, 23 Aug 2022 07:07:22 +0200 Subject: [PATCH] fix: check if router is ready before using its path --- packages/website/src/components/SidebarLayout.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/website/src/components/SidebarLayout.tsx b/packages/website/src/components/SidebarLayout.tsx index 86e225378..aea3beadd 100644 --- a/packages/website/src/components/SidebarLayout.tsx +++ b/packages/website/src/components/SidebarLayout.tsx @@ -243,8 +243,8 @@ export function SidebarLayout({ - - {breadcrumbs} + + {router.isReady ? {breadcrumbs} : null}