diff --git a/node_modules/@astrojs/starlight/components/SidebarSublist.astro b/node_modules/@astrojs/starlight/components/SidebarSublist.astro index f90d79d..82ac8f0 100644 --- a/node_modules/@astrojs/starlight/components/SidebarSublist.astro +++ b/node_modules/@astrojs/starlight/components/SidebarSublist.astro @@ -4,6 +4,7 @@ import type { SidebarEntry } from '../utils/routing/types'; import Icon from '../user-components/Icon.astro'; import Badge from '../user-components/Badge.astro'; import SidebarRestorePoint from './SidebarRestorePoint.astro'; +import SidebarIcon from "~/components/SidebarIcon.astro"; interface Props { sublist: SidebarEntry[]; @@ -24,7 +25,7 @@ const { sublist, nested } = Astro.props; class:list={[{ large: !nested }, entry.attrs.class]} {...entry.attrs} > - {entry.label} + {entry.icon && }{entry.label} {entry.badge && ( - {icon && } + {icon && } {label}