Skip to content

Commit be2b4f8

Browse files
getsantry[bot]mydea
authored andcommitted
[getsentry/action-github-commit] Auto commit
1 parent 461fadc commit be2b4f8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/breadcrumbs/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ export function Breadcrumbs({leafNode}: BreadcrumbsProps) {
1414
for (let node: DocNode | undefined = leafNode; node; node = node.parent) {
1515
if (node && !node.missing) {
1616
const to = node.path === '/' ? node.path : `/${node.path}/`;
17-
const title = node.frontmatter.platformTitle ?? node.frontmatter.sidebar_title ?? node.frontmatter.title;
17+
const title =
18+
node.frontmatter.platformTitle ??
19+
node.frontmatter.sidebar_title ??
20+
node.frontmatter.title;
1821

1922
breadcrumbs.unshift({
2023
to,

0 commit comments

Comments
 (0)