Skip to content

Commit 7fdf63f

Browse files
authored
refactor: reorganize app router routes (#310)
*Issue #, if available:* *Description of changes:* * move /settings/api-keys to /api-keys * move /settings/prompt to /preferences By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent 9367682 commit 7fdf63f

File tree

8 files changed

+2
-2
lines changed

8 files changed

+2
-2
lines changed

packages/webapp/src/components/Header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export default function Header() {
7575

7676
<DropdownMenuSeparator />
7777
<DropdownMenuItem asChild>
78-
<Link href="/settings/api-keys" className="w-full cursor-default flex items-center" prefetch={false}>
78+
<Link href="/api-keys" className="w-full cursor-default flex items-center" prefetch={false}>
7979
<Key className="mr-2 h-4 w-4" />
8080
<span>{t('apiKeys')}</span>
8181
</Link>
@@ -100,7 +100,7 @@ export default function Header() {
100100
</Link>
101101
</DropdownMenuItem>
102102
<DropdownMenuItem asChild>
103-
<Link href="/settings/prompt" className="w-full cursor-default flex items-center" prefetch={false}>
103+
<Link href="/preferences" className="w-full cursor-default flex items-center" prefetch={false}>
104104
<Settings className="mr-2 h-4 w-4" />
105105
<span>{t('preferences')}</span>
106106
</Link>

0 commit comments

Comments
 (0)