mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: listen for error event on image (#2736)

authored by

Mary and committed by
GitHub
ca66fae3 2fd4b27e

+3
+3
src/lib/media/manip.web.ts
··· 132 132 ctx.drawImage(img, 0, 0, w, h) 133 133 resolve(canvas.toDataURL('image/jpeg', quality)) 134 134 }) 135 + img.addEventListener('error', ev => { 136 + reject(ev.error) 137 + }) 135 138 img.src = dataUri 136 139 }) 137 140 }