From f382b2e8a09f1e615b5e827e1b3533a29614937f Mon Sep 17 00:00:00 2001 From: hailin Date: Tue, 20 May 2025 18:07:42 +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 30bb7fd..dab8155 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 => w.is_home) + const homeWorkspace = workspaces.find(w: Workspace => w.is_home) // There will always be a home workspace setSelectedWorkspace(homeWorkspace!)