Skip to content

Commit c9e6a6c

Browse files
Merge pull request #135 from HichemTab-tech:add-icons
Use and show the icon of sidebarNavItems in the settings sidebar
2 parents 972b6ce + fea01f5 commit c9e6a6c

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)