From 16f25ff5d55581ae0d83cbeac370393a081e2763 Mon Sep 17 00:00:00 2001 From: Lewis Date: Fri, 13 Mar 2026 13:21:08 +0200 Subject: [PATCH] appview/pages: stay on same page upon account switch Signed-off-by: Lewis --- appview/state/accounts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appview/state/accounts.go b/appview/state/accounts.go index 078340bc..b531fb6a 100644 --- a/appview/state/accounts.go +++ b/appview/state/accounts.go @@ -28,7 +28,7 @@ func (s *State) SwitchAccount(w http.ResponseWriter, r *http.Request) { } l.Info("switched account", "did", did) - s.pages.HxRedirect(w, "/") + s.pages.HxRefresh(w) } func (s *State) RemoveAccount(w http.ResponseWriter, r *http.Request) { -- 2.51.2