Skip to content

Commit

Permalink
[Bugfix] Restricting Quick Order Upload to accept only xls and xlsx f…
Browse files Browse the repository at this point in the history
…iles
  • Loading branch information
JooLuiz committed Dec 29, 2021
1 parent b3171c4 commit cbcbba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/UploadBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ const UploadBlock: StorefrontFunctionComponent<UploadBlockInterface &
<div
className={`bg-base t-body c-on-base ph6 pb6 br3 b--muted-4 ${handles.dropzoneContainer}`}
>
<Dropzone onDropAccepted={handleFile} onFileReset={handleReset}>
<Dropzone onDropAccepted={handleFile} onFileReset={handleReset} accept=".xls,xlsx">
<div className="pt7">
<div>
<span className={`f4 ${handles.dropzoneText}`}>
Expand Down

0 comments on commit cbcbba3

Please sign in to comment.