Skip to content

Commit

Permalink
Prmdr-346 remove has file (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
NogaNHS authored Oct 6, 2023
1 parent f78c4b9 commit b380038
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/src/components/blocks/selectStage/SelectStage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ function SelectStage({ uploadDocuments, setDocuments, patientDetails }: Props) {
control,
rules: {
validate: {
isFile: () => {
return !!hasFileInput || 'Please select a file';
},
perFileValidation: (value?: Array<UploadDocument>) => {
if (Array.isArray(value)) {
for (let i = 0; i < value.length; i++) {
Expand Down

0 comments on commit b380038

Please sign in to comment.