Description
In apps/web/src/components/header.tsx (lines 68-72), the async onClick handler for copying the SVG logo has three unhandled promise rejections:
fetch() can fail if the network is unavailable
res.text() can throw if response parsing fails
navigator.clipboard.writeText() can throw if clipboard access is denied
Current Behavior
Silent failure with no user feedback.
Expected Behavior
Wrap in try-catch and show toast error on failure.
Files
apps/web/src/components/header.tsx:68-72
Description
In
apps/web/src/components/header.tsx(lines 68-72), the asynconClickhandler for copying the SVG logo has three unhandled promise rejections:fetch()can fail if the network is unavailableres.text()can throw if response parsing failsnavigator.clipboard.writeText()can throw if clipboard access is deniedCurrent Behavior
Silent failure with no user feedback.
Expected Behavior
Wrap in try-catch and show toast error on failure.
Files
apps/web/src/components/header.tsx:68-72