summaryrefslogtreecommitdiff
path: root/web/source/settings/index.tsx
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-05-01 15:11:22 +0200
committerLibravatar GitHub <noreply@github.com>2024-05-01 14:11:22 +0100
commit725a21b02721f92ed0420ed3f807ee921de77992 (patch)
tree3940e4b0a7cf3328357ccb86be971126ab2a12b5 /web/source/settings/index.tsx
parent[bugfix] Tidy up remaining references to workers in cmd (#2889) (diff)
downloadgotosocial-725a21b02721f92ed0420ed3f807ee921de77992.tar.xz
[feature] Page through accounts as moderator (#2881)
* [feature] Page through accounts as moderator * aaaaa * use COLLATE "C" for Postgres to ensure same ordering as SQLite * fix typo, test paging up * don't show moderation / info for our instance acct
Diffstat (limited to 'web/source/settings/index.tsx')
-rw-r--r--web/source/settings/index.tsx9
1 files changed, 4 insertions, 5 deletions
diff --git a/web/source/settings/index.tsx b/web/source/settings/index.tsx
index 977a94150..25e3d1f3c 100644
--- a/web/source/settings/index.tsx
+++ b/web/source/settings/index.tsx
@@ -59,11 +59,10 @@ export function App({ account }: AppProps) {
<ModerationRouter />
<AdminRouter />
{/*
- Redirect to first part of UserRouter if
- just the bare settings page is open, so
- user isn't greeted with a blank page.
- */}
- <Route><Redirect to="/user/profile" /></Route>
+ Ensure user ends up somewhere
+ if they just open /settings.
+ */}
+ <Route path="/"><Redirect to="/user" /></Route>
</ErrorBoundary>
</Router>
</section>