Skip to content

Commit

Permalink
CORE: fix file accept format (#1268)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekachxaidze98 authored Dec 18, 2024
1 parent 3c86b15 commit c2a893c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/pdf-upload/defaultUpload.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const DefaultUploadView = ({
ref={uploadRef}
type="file"
id="fileInput"
accept="application/pdf"
accept="application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"
onChange={handleFileChange}
className={styles.display}
hidden
Expand Down
2 changes: 1 addition & 1 deletion components/pdf-upload/formatUpload.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const FormatUploadIssue = ({
ref={uploadRef}
type="file"
id="fileInput"
accept="application/pdf"
accept="application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"
onChange={handleFileChange}
className={styles.display}
hidden
Expand Down
2 changes: 1 addition & 1 deletion components/pdf-upload/sdgUploadSuccess.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const SdgUploadSuccess = ({
ref={uploadRef}
type="file"
id="fileInput"
accept="application/pdf"
accept="application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"
onChange={handleFileChange}
className={styles.display}
hidden
Expand Down
2 changes: 1 addition & 1 deletion components/pdf-upload/sizeUploadIssue.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const SizeUploadIssue = ({
ref={uploadRef}
type="file"
id="fileInput"
accept="application/pdf"
accept="application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"
onChange={handleFileChange}
className={styles.display}
hidden
Expand Down
2 changes: 1 addition & 1 deletion components/pdf-upload/uploadFail.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const UploadFail = ({
ref={uploadRef}
type="file"
id="fileInput"
accept="application/pdf"
accept="application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"
onChange={handleFileChange}
className={styles.display}
hidden
Expand Down
2 changes: 1 addition & 1 deletion components/pdf-upload/uploadSuccess.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const UploadSuccess = ({
ref={uploadRef}
type="file"
id="fileInput"
accept="application/pdf"
accept="application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"
onChange={handleFileChange}
className={styles.display}
hidden
Expand Down

0 comments on commit c2a893c

Please sign in to comment.