From e031bb1485ab31b30d12d5392caea5c3613b08ce Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 18 Oct 2025 03:21:04 +0000 Subject: [PATCH] Dashboard: load teams before posts cgen-4391d0a93f6f498f95f1fa1272124cb6 --- client/pages/Dashboard.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/client/pages/Dashboard.tsx b/client/pages/Dashboard.tsx index 5d4fe9b1..32febd9b 100644 --- a/client/pages/Dashboard.tsx +++ b/client/pages/Dashboard.tsx @@ -335,6 +335,14 @@ export default function Dashboard() { setProjects([]); } + // Load teams + try { + const myTeams = await aethexCollabService.listMyTeams(user!.id); + setTeams(myTeams); + } catch (e) { + setTeams([]); + } + // Load user's recent posts try { const posts = await communityService.getUserPosts(user!.id);