Fix stl download name

Was broken on the profile page, would set the name to undefined.stl
This commit is contained in:
Kurt Hutten
2022-01-18 06:14:55 +11:00
parent 90fece9598
commit 4fe6226b52
3 changed files with 1 additions and 3 deletions

View File

@@ -53,7 +53,6 @@ const ProjectProfile = ({
})
)
}, [currentUser, project?.title, userProject.userName])
console.log('from ProjectProfile', { cadPackage: project.cadPackage, code: project.code })
useIdeInit(project?.cadPackage, project?.code, 'viewer')
const [newDescription, setNewDescription] = useState(project?.description)
const onDescriptionChange = (description) => setNewDescription(description())