Hi, I am implementing this carousel but I am unable to remove all the extra images that I am getting in the Demo Code. I am unable to remove two extra images from the data array.
When I remove the last object from the data it gives me the error Cannot read properties of undefined (reading 'cover')
I hope you guys could guide me on what I might be doing wrong.
Hi, I am implementing this carousel but I am unable to remove all the extra images that I am getting in the Demo Code. I am unable to remove two extra images from the data array.
This is what my current data array looks like
When I remove the last object from the data it gives me the error Cannot read properties of undefined (reading 'cover') I hope you guys could guide me on what I might be doing wrong.