Skip to content

Commit fea01f5

Browse files
Use and show the icon in the sidebarNavItems in the settings sidebar
1 parent f1c4c46 commit fea01f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/js/layouts/settings/layout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export default function SettingsLayout({ children }: PropsWithChildren) {
5050
})}
5151
>
5252
<Link href={item.href} prefetch>
53+
{item.icon && <item.icon className="h-4 w-4" />}
5354
{item.title}
5455
</Link>
5556
</Button>

0 commit comments

Comments
 (0)