TypeError: Cannot set properties of undefined (setting ‘form’) in a dispatch
I have a drag and drop input field for an image. When the image is dropped, it calls the handleIconDrop
function. Here I’m calling my dispatch to post to our BE. My problem is I’m getting this error when doing so.