I have an array of images inside refData. I then map them into an array of img objects with RefItem. I then want thouse specifc images to change to the
refData
RefItem