I am working on a Next.js project with react-leaflet-draw. I have a server option to save and load polygon shape data, but I’m facing an issue with the onEdited and onDeleted events. The onCreated event is called only once, no matter how many polygon shapes I draw. However, every time I edit or delete a polygon, the handleChange function is called one additional time, increasing with each edit or delete operation. This behavior is very strange.
onCreated

onEdited


onDeleted
