Closed JohnMTorgerson closed 3 years ago
'Fixed' this by just putting those lines in a try block and finding the elements from the DOM as a fallback. This solves the problem and will work fine, so I'm closing the issue, even though it's kind of just a band-aid.
Specifically, in the ipcRenderer.on('downloaded',...) callback in MynEditArtwork (beginning line 2282 in current commit), the references this.input.current and this.dlMsg.current are undefined. Sometimes. Other times it seems to work fine. Unable to reproduce consistently. When they are undefined and an error is thrown, the "Downloading..." message persists and the user input field does not re-appear.