react-images-upload icon indicating copy to clipboard operation
react-images-upload copied to clipboard

How do I erase previous onDrop array of pictures

Open nalnir opened this issue 5 years ago • 0 comments

First I don't really understand why onDrop retains old pictures in array. What happens is that after onDrop when I pick another set of pictures it will return array with new ones as well as previous ones. I only need new ones. Is there any functionality to get new picture I picked only?

nalnir avatar Aug 17 '20 14:08 nalnir