What happened?
All three PNG-export call sites — components/share/ShareView.tsx, app/(protected)/editor/page.tsx,
▎ app/(protected)/editor/[id]/page.tsx — call toPng(panelRef.current).then(url => { ... }) with no .catch(). If html-to-image rejects (a real failure mode — canvas tainting, browser quirks), the click silently does nothing.
Code snippet (if parser-related)
Environment
No response
Where did this happen?
Live site (code2flow-one.vercel.app)
What happened?
All three PNG-export call sites — components/share/ShareView.tsx, app/(protected)/editor/page.tsx,
▎ app/(protected)/editor/[id]/page.tsx — call toPng(panelRef.current).then(url => { ... }) with no .catch(). If html-to-image rejects (a real failure mode — canvas tainting, browser quirks), the click silently does nothing.
Code snippet (if parser-related)
Environment
No response
Where did this happen?
Live site (code2flow-one.vercel.app)