Closed khatran79 closed 2 years ago
I am trying to add react-leaflet-draw into the map.
The code is at https://codesandbox.io/s/elastic-darkness-2ric3h?file=/src/App.js
The map is working fine however got this error TypeError: destroy is not a function
Any idea please?
Working fine when downgrade to react from 18 to 17.0.2
@khatran79 Version 0.20.0 patches this issue. Please let me know if there are any bugs or issues with it
I am trying to add react-leaflet-draw into the map.
The code is at https://codesandbox.io/s/elastic-darkness-2ric3h?file=/src/App.js
The map is working fine however got this error TypeError: destroy is not a function
Any idea please?