From 912d6c012f88251457ba6f8199460b27163698fc Mon Sep 17 00:00:00 2001 From: hailin Date: Tue, 20 May 2025 18:23:15 +0800 Subject: [PATCH] . --- chatdesk-ui/app/[locale]/setup/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatdesk-ui/app/[locale]/setup/page.tsx b/chatdesk-ui/app/[locale]/setup/page.tsx index d8275cd..30bb7fd 100644 --- a/chatdesk-ui/app/[locale]/setup/page.tsx +++ b/chatdesk-ui/app/[locale]/setup/page.tsx @@ -190,7 +190,7 @@ export default function SetupPage() { setProfile(updatedProfile) const workspaces = await getWorkspacesByUserId(profile.user_id) - const homeWorkspace = workspaces.find((w: Workspace) => w.is_home) + const homeWorkspace = workspaces.find(w => w.is_home) // There will always be a home workspace setSelectedWorkspace(homeWorkspace!)