OpenCut/apps
96528025 29504c884b fix: add error handling to async clipboard handler in header.tsx
Wrap the async onClick handler for copying the SVG logo in a try-catch
block to handle potential failures from fetch(), res.text(), and
navigator.clipboard.writeText(). Show a success toast on copy and an
error toast if any step fails.

Fixes #722

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 14:38:34 -07:00
..
web fix: add error handling to async clipboard handler in header.tsx 2026-03-18 14:38:34 -07:00