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:
Sergey Kozyrenko
2026-06-14 12:43:29 +07:00
co-authored by Claude Fable 5
parent bc80aac985
commit 4b4e93c603
+2 -2
View File
@@ -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="*"