From 0cf23c7d7c156c4c4895c7dfffac7aa5fe1ce71d Mon Sep 17 00:00:00 2001 From: Lucas Date: Tue, 30 Dec 2025 11:56:34 -0800 Subject: [PATCH] Update apps/client/src/widgets/type_widgets/helpers/SvgSplitEditor.tsx Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- apps/client/src/widgets/type_widgets/helpers/SvgSplitEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/type_widgets/helpers/SvgSplitEditor.tsx b/apps/client/src/widgets/type_widgets/helpers/SvgSplitEditor.tsx index 04fd78829e..9a1c1dd4e7 100644 --- a/apps/client/src/widgets/type_widgets/helpers/SvgSplitEditor.tsx +++ b/apps/client/src/widgets/type_widgets/helpers/SvgSplitEditor.tsx @@ -77,7 +77,7 @@ export default function SvgSplitEditor({ ntxId, note, attachmentName, renderSvg, if (!attachments.find((a) => a.title === `${attachmentName}.svg`)) { onSave(); } - }); + }).catch(e => console.error("Failed to get attachments for SVGSplitEditor", e)); }, [ note, svg, attachmentName, onSave ]); // Import/export