This commit is contained in:
hailin 2025-05-20 18:23:15 +08:00
parent 44fac8c4fc
commit 912d6c012f
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: Workspace) => w.is_home)
const homeWorkspace = workspaces.find(w => w.is_home)
// There will always be a home workspace
setSelectedWorkspace(homeWorkspace!)