This commit is contained in:
parent
44fac8c4fc
commit
912d6c012f
|
|
@ -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!)
|
||||
|
|
|
|||
Loading…
Reference in New Issue