We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0654eca commit 3ff3d7cCopy full SHA for 3ff3d7c
app/[[...path]]/page.tsx
@@ -115,7 +115,9 @@ export default async function Page({params}: {params: {path?: string[]}}) {
115
.filter(({slug}) => {
116
return (
117
slug.includes(VERSION_INDICATOR) &&
118
- slug.includes(pageNode.path.split(VERSION_INDICATOR)[0])
+ pageNode.path
119
+ .split(VERSION_INDICATOR)[0]
120
+ .includes(slug.split(VERSION_INDICATOR)[0])
121
);
122
})
123
.map(({slug}) => {
0 commit comments