diff --git a/apps/docs/src/app/layout.tsx b/apps/docs/src/app/layout.tsx index 66d148a3..4cd603d5 100644 --- a/apps/docs/src/app/layout.tsx +++ b/apps/docs/src/app/layout.tsx @@ -22,7 +22,7 @@ export const metadata: Metadata = { }; const getLink = (path: string) => - `${publicRuntimeConfig.basePath || ''}${path}`; + `${publicRuntimeConfig?.basePath || ''}${path}`; export default function RootLayout({ children,