Fix stl download name (#593)

Was broken on the profile page, would set the name to undefined.stl
This commit was merged in pull request #593.
This commit is contained in:
Kurt Hutten
2022-01-18 06:16:55 +11:00
committed by GitHub
parent 90fece9598
commit c48afaf07b
3 changed files with 1 additions and 3 deletions

View File

@@ -198,7 +198,7 @@ export const Success = ({ userProject, refetch }) => {
ideType: state.ideType,
geometry: state.objectData?.data,
quality: state.objectData?.quality,
fileName: `${userProject.title }.stl`,
fileName: `${userProject.Project.title }.stl`,
thunkDispatch,
})