TypeError: Button with this name already exists #1304
Unanswered
lDonKaban
asked this question in
Questions & Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using react-leaflet + typescript. When creating a custom button or copying an existing one, I get this error (TypeError: Button with this name already exists), but if I use the function to generate a random name, 2 buttons will be created in the toolbar. Please tell me how to fix this?
Beta Was this translation helpful? Give feedback.
All reactions