@poco-ai/agentero-dsh-pdf 0.1.2 → 0.1.3
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/lib/client.js +6 -2
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -58088,8 +58088,12 @@ function PdfPanel(props) {
|
|
|
58088
58088
|
if (cancelled) return;
|
|
58089
58089
|
setBytes(next);
|
|
58090
58090
|
setStatus("ready");
|
|
58091
|
-
|
|
58092
|
-
|
|
58091
|
+
try {
|
|
58092
|
+
const painted = await loadMarks(paperPath);
|
|
58093
|
+
if (!cancelled) setMarks(painted);
|
|
58094
|
+
} catch {
|
|
58095
|
+
if (!cancelled) setMarks([]);
|
|
58096
|
+
}
|
|
58093
58097
|
}).catch((error) => {
|
|
58094
58098
|
if (cancelled) return;
|
|
58095
58099
|
const text = error instanceof Error ? error.message : "";
|