♻️ Move preferences in router

This commit is contained in:
Manuel
2023-07-30 22:57:14 +02:00
parent 672b726e6b
commit 4b1f5881e3
6 changed files with 26 additions and 5 deletions

View File

@@ -108,14 +108,14 @@ export const MainLayout = ({ children }: MainLayoutProps) => {
/>
</NavLink>
<NavLink
label="Preferences"
label="Settings"
icon={
<ThemeIcon size="md" variant="light" color="red">
<IconSettings2 size="1rem" />
</ThemeIcon>
}
component={Link}
href="/manage/preferences"
href="/manage/settings"
/>
<NavLink
label="Help"

View File

@@ -43,10 +43,10 @@ export const AvatarMenu = () => {
<>
<Menu.Item
component={Link}
href="/manage/preferences"
href="/user/preferences"
icon={<IconUserCog size="1rem" />}
>
Settings
User preferences
</Menu.Item>
<Menu.Item component={Link} href="/board" icon={<IconDashboard size="1rem" />}>
Default Dashboard