mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-19 17:49:19 +02:00
refactor: remove unnecessary undefined & use optional chain (#11192)
This commit is contained in:
parent
abd04a2b71
commit
5d858f5e66
3 changed files with 4 additions and 5 deletions
|
@ -480,7 +480,7 @@ Available document ids are:
|
|||
|
||||
export function toDocNavigationLink(
|
||||
doc: DocMetadataBase,
|
||||
options?: {sidebarItemLabel?: string | undefined},
|
||||
options?: {sidebarItemLabel?: string},
|
||||
): PropNavigationLink {
|
||||
const {
|
||||
title,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue