mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-09-22 02:05:37 +00:00
fix(webui): land /settings on Account, the first menu item
Account was added as the first settings sidebar item, but the index and catch-all routes still redirected to /settings/providers, so the gear "Settings" link dropped the user on the second item. Point both redirects at /settings/account. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
bc80aac985
commit
4b4e93c603
@@ -201,7 +201,7 @@ const router = createBrowserRouter(
|
||||
element={
|
||||
<Navigate
|
||||
replace
|
||||
to="providers"
|
||||
to="account"
|
||||
/>
|
||||
}
|
||||
index
|
||||
@@ -241,7 +241,7 @@ const router = createBrowserRouter(
|
||||
element={
|
||||
<Navigate
|
||||
replace
|
||||
to="/settings/providers"
|
||||
to="/settings/account"
|
||||
/>
|
||||
}
|
||||
path="*"
|
||||
|
||||
Reference in New Issue
Block a user