mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-28 18:36:23 +02:00
sticky top navigation & user data in user nav
This commit is contained in:
parent
8bc369cd94
commit
a7c1fd49be
3 changed files with 64 additions and 17 deletions
|
|
@ -181,7 +181,6 @@ export const AppSidebar = memo(function AppSidebar({
|
|||
navMain = defaultData.navMain,
|
||||
navSecondary = defaultData.navSecondary,
|
||||
RecentChats = defaultData.RecentChats,
|
||||
user = defaultData.user,
|
||||
...props
|
||||
}: AppSidebarProps) {
|
||||
// Process navMain to resolve icon names to components
|
||||
|
|
@ -243,7 +242,7 @@ export const AppSidebar = memo(function AppSidebar({
|
|||
<NavSecondary items={processedNavSecondary} className="mt-auto" />
|
||||
|
||||
{/* User Profile Section */}
|
||||
<NavUser user={user} />
|
||||
<NavUser />
|
||||
</SidebarFooter>
|
||||
</Sidebar>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue