I'm using react-leaflet-draw to draw shapes on a map. But when I try to edit the circle, I get an error indicating that the radius is undefined from this path : node_modules/.vite/deps/react-leaflet-draw.js at the 1256 line

Then, when I add the following item, it works correctly:

I'm using react-leaflet-draw to draw shapes on a map. But when I try to edit the circle, I get an error indicating that the radius is undefined from this path : node_modules/.vite/deps/react-leaflet-draw.js at the 1256 line
Then, when I add the following item, it works correctly: