frontend for xcvr appview

this could be it

+4 -3
+4 -3
src/lib/wscontext.svelte.ts
··· 207 207 this.mediaactive = false 208 208 } 209 209 } 210 + 210 211 cancelImage = () => { 211 212 if (this.mediaactive) { 212 213 pubImage(undefined, undefined, this) 213 214 this.myMedia = undefined 214 215 this.mediaactive = false 215 216 } 216 - 217 217 } 218 218 219 219 initImage = (blob: File) => { ··· 232 232 response.json().then((atpblob) => { 233 233 if (this.myMedia) { 234 234 this.myMedia.atpblob = atpblob 235 + } else { 236 + console.error("i don't have a media at the time of recieve atblob: ", atpblob) 235 237 } 236 - } 237 - ) 238 + }) 238 239 } else { 239 240 throw new Error(`HTTP ${response.status}`) 240 241 }