diff --git a/front/components/sparkle/AppLayout.tsx b/front/components/sparkle/AppLayout.tsx index 2e43a2834ab5..9356c01defe4 100644 --- a/front/components/sparkle/AppLayout.tsx +++ b/front/components/sparkle/AppLayout.tsx @@ -93,8 +93,9 @@ function NavigationBar({ readOnly={false} onWorkspaceUpdate={(workspace) => { if (workspace.id !== owner.id) { - void router.push(`/w/${workspace.sId}/u/chat`); - void router.reload(); + void router + .push(`/w/${workspace.sId}/u/chat`) + .then(() => router.reload()); } }} />