@secondstaxorg/sscomp 1.9.77 → 1.9.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
@@ -32274,7 +32274,7 @@ const DocumentViewer = (props) => {
32274
32274
  setShowDoc(true);
32275
32275
  return
32276
32276
  }
32277
- if (data.type == 'multipart/form-data' || data.type == 'application/pdf'){
32277
+ if (data.type == 'multipart/form-data' || data.type.includes('application')){
32278
32278
  reactPdf.pdfjs.getDocument(files[currDoc].fileUrl).promise.then((doc)=>{
32279
32279
  setShowDoc(true);
32280
32280
  setPdfDoc(doc);