@secondstaxorg/sscomp 1.8.77 → 1.8.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -31930,7 +31930,7 @@ const DocumentViewer = (props) => {
31930
31930
  setShowDoc(true);
31931
31931
  return
31932
31932
  }
31933
- if (data.type == 'multipart/form-data'){
31933
+ if (data.type == 'multipart/form-data' || data.type == 'application/pdf'){
31934
31934
  reactPdf.pdfjs.getDocument(files[currDoc].fileUrl).promise.then((doc)=>{
31935
31935
  setShowDoc(true);
31936
31936
  setPdfDoc(doc);