diff --git a/src/views/SubmissionView/hooks/useSubmissionValidationStatus.js b/src/views/SubmissionView/hooks/useSubmissionValidationStatus.js index 9ce9c618..a2265eb8 100644 --- a/src/views/SubmissionView/hooks/useSubmissionValidationStatus.js +++ b/src/views/SubmissionView/hooks/useSubmissionValidationStatus.js @@ -35,8 +35,8 @@ const useSubmissionStatuses = (textResponses, uploadedFiles) => { } const calcFileUploadIsRequired = submissionConfig.fileResponseConfig.required && !uploadedFiles.length; setFileUploadIsRequired(calcFileUploadIsRequired); + setPromptStatuses(retrievePromptsSubmissionStatus); if (containsInvalidPrompts || (submissionConfig.fileResponseConfig.required && !uploadedFiles.length)) { - setPromptStatuses(retrievePromptsSubmissionStatus); return false; }