diff --git a/src/routes/_library/$libraryId/$version.docs.framework.$framework.examples.$.tsx b/src/routes/_library/$libraryId/$version.docs.framework.$framework.examples.$.tsx index 516e59fda..a87025f02 100644 --- a/src/routes/_library/$libraryId/$version.docs.framework.$framework.examples.$.tsx +++ b/src/routes/_library/$libraryId/$version.docs.framework.$framework.examples.$.tsx @@ -133,7 +133,7 @@ export const Route = createFileRoute( throw notFound() } - const examplePath = [framework, params._splat].join('/') + const examplePath = [framework, params._splat].filter(Boolean).join('/') const defaultStartingPath = getExampleStartingPath( framework, params.libraryId,