fix(ui): compose canonical three-part profile header

This commit is contained in:
DCCONSTRUCTIONS
2026-11-05 12:51:53 +03:00
parent 8addef187b
commit fdc93a3136
5 changed files with 27 additions and 7 deletions
+1 -3
View File
@@ -2162,9 +2162,8 @@ export function CatalogApp() {
</>
}
right={
<HeaderProfile>
<IconButton label="Уведомления"><Icon name="inbox" size={20} strokeWidth={1.7} /></IconButton>
<UserProfileMenu
variant="header"
triggerLabel="Профиль"
triggerIcon="inbox"
displayName={sessionProfile?.user?.displayName || "Профиль"}
@@ -2176,7 +2175,6 @@ export function CatalogApp() {
{ id: "logout", label: "Выйти", icon: "external", href: "/auth/logout" },
]}
/>
</HeaderProfile>
}
/>
}