debug1
All checks were successful
Deploy to Server / deploy (push) Successful in 28s

This commit is contained in:
jeremygan2021
2026-03-22 23:51:01 +08:00
parent 5aebc5c635
commit 9608b6c4a5

View File

@@ -240,8 +240,10 @@ const ProjectSubmission = ({ competitionId, initialValues, onCancel, onSuccess }
console.log('Cover image selected:', file.name, 'activeProjectId:', activeProjectId);
const doUpload = (projectId) => {
console.log('Uploading cover for project:', projectId);
const formData = new FormData();
formData.append('file', file);
formData.append('project', projectId);
uploadProjectFile(formData)
.then(res => {