mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-06 13:35:48 +01:00
✨ Add contentComponents to the main layout
Return button is not inside of the header.
This commit is contained in:
@@ -41,13 +41,14 @@ export const AvatarMenu = () => {
|
||||
<CurrentUserAvatar user={sessionData?.user ?? null} />
|
||||
</Menu.Target>
|
||||
<Menu.Dropdown>
|
||||
<Menu.Item icon={<Icon size="1rem" />} onClick={toggleColorScheme}>
|
||||
<Menu.Item closeMenuOnClick={false} icon={<Icon size="1rem" />} onClick={toggleColorScheme}>
|
||||
{t('actions.avatar.switchTheme')}
|
||||
</Menu.Item>
|
||||
{sessionData?.user && (
|
||||
<>
|
||||
<Menu.Item
|
||||
component={Link}
|
||||
passHref
|
||||
href="/user/preferences"
|
||||
icon={<IconUserCog size="1rem" />}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user