reifyui 0.13.6 → 0.13.7
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FilePreview.jsx +2 -2
package/dist/index.js
CHANGED
|
@@ -2339,7 +2339,7 @@ function FilePreview({
|
|
|
2339
2339
|
const kind = kindOf(name, mime);
|
|
2340
2340
|
if (kind === "office") {
|
|
2341
2341
|
if (!officePdfUrl) {
|
|
2342
|
-
setSt({ kind: "binary", error: "This format has no
|
|
2342
|
+
setSt({ kind: "binary", error: "This format has no preview here. Download it to open it." });
|
|
2343
2343
|
return;
|
|
2344
2344
|
}
|
|
2345
2345
|
const r = await get(officePdfUrl(url));
|
|
@@ -2350,7 +2350,7 @@ function FilePreview({
|
|
|
2350
2350
|
}
|
|
2351
2351
|
if (kind === "sheet") {
|
|
2352
2352
|
if (!parseWorkbook) {
|
|
2353
|
-
setSt({ kind: "binary", error: "This format has no
|
|
2353
|
+
setSt({ kind: "binary", error: "This format has no preview here. Download it to open it." });
|
|
2354
2354
|
return;
|
|
2355
2355
|
}
|
|
2356
2356
|
try {
|