File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ interface SidebarLinkProps {
1818 wip : boolean | undefined ;
1919 icon ?: React . ReactNode ;
2020 isExpanded ?: boolean ;
21- isBreadcrumb ?: boolean ;
2221 hideArrow ?: boolean ;
2322 isPending : boolean ;
2423}
@@ -30,7 +29,6 @@ export function SidebarLink({
3029 wip,
3130 level,
3231 isExpanded,
33- isBreadcrumb,
3432 hideArrow,
3533 isPending,
3634} : SidebarLinkProps ) {
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ export function SidebarRouteTree({
8787 ) => {
8888 const selected = slug === path ;
8989 let listItem = null ;
90- if ( ! path || ! path || heading ) {
90+ if ( ! path || heading ) {
9191 // if current route item has no path and children treat it as an API sidebar heading
9292 listItem = (
9393 < SidebarRouteTree
@@ -114,7 +114,6 @@ export function SidebarRouteTree({
114114 title = { title }
115115 wip = { wip }
116116 isExpanded = { isExpanded }
117- isBreadcrumb = { isBreadcrumb }
118117 hideArrow = { isForceExpanded }
119118 />
120119 < CollapseWrapper duration = { 250 } isExpanded = { isExpanded } >
You can’t perform that action at this time.
0 commit comments