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.cjs
CHANGED
|
@@ -4500,7 +4500,7 @@ function FilePreview({
|
|
|
4500
4500
|
const kind = kindOf(name, mime);
|
|
4501
4501
|
if (kind === "office") {
|
|
4502
4502
|
if (!officePdfUrl) {
|
|
4503
|
-
setSt({ kind: "binary", error: "This format has no
|
|
4503
|
+
setSt({ kind: "binary", error: "This format has no preview here. Download it to open it." });
|
|
4504
4504
|
return;
|
|
4505
4505
|
}
|
|
4506
4506
|
const r = await get(officePdfUrl(url));
|
|
@@ -4511,7 +4511,7 @@ function FilePreview({
|
|
|
4511
4511
|
}
|
|
4512
4512
|
if (kind === "sheet") {
|
|
4513
4513
|
if (!parseWorkbook) {
|
|
4514
|
-
setSt({ kind: "binary", error: "This format has no
|
|
4514
|
+
setSt({ kind: "binary", error: "This format has no preview here. Download it to open it." });
|
|
4515
4515
|
return;
|
|
4516
4516
|
}
|
|
4517
4517
|
try {
|