This commit is contained in:
hailin 2025-05-20 18:07:42 +08:00
parent 8c63dd5057
commit f382b2e8a0
1 changed files with 1 additions and 1 deletions

View File

@ -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!)