Skip to content

Commit 54b8875

Browse files
fix(breadcrumbs): append / to end of crumb fullPath
1 parent 09f7233 commit 54b8875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Breadcrumbs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const Breadcrumbs: React.FC<IProps> = ({
4848
: ""
4949

5050
return {
51-
fullPath: slugChunk.slice(0, idx + 2 + startDepth).join("/"),
51+
fullPath: slugChunk.slice(0, idx + 2 + startDepth).join("/") + "/",
5252
text: text.toUpperCase(),
5353
}
5454
})

0 commit comments

Comments
 (0)