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>
This commit is contained in:
Lucas 2025-12-30 11:56:34 -08:00 committed by GitHub
parent a632486229
commit 0cf23c7d7c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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