Closed steveone closed 6 years ago
I only updated one file "client/src/components/LeafletOsmMap/index.js" so I'm not sure why it shows 20 commits. If I did something wrong, if someone could please let me know I would be happy to correct it.
@steveone it looks like you may have pulled from the master branch that is why you ended up with all the dist/ files and related commits. We are using development as the default branch so you should pull from there to bring your local repo up to date. The master branch is being used to serve an automated deployment and that is why it has all the dist/build assets included.
@motosharpley I will do an update tonight and try to fix the issue. Thank you for your guidance.
Issue Number: 226
Issue Description: If you click on multiple points of the map, each location will get a pin without you hitting "save" on the pins. The expected behavior is that one pin will be created, and if you don't hit "save" the pin will be removed when you click elsewhere on the map.
Summary of solution:
Can this issue be closed?
Additional code needed to clear "unSavedMarker" in the state when a marker is successfully saved, that feature is throwing an error (in Chrome Canary) so testing was not possible
Should any new issues be added as a result of this solution?
Saving a marker throws an error Uncaught (in promise) TypeError: Failed to fetch xhr.js....
Have you named your branch in a descriptive way? Remember to name your branch in a unique and descriptive manner in order to properly reflect the issue or feature.
Thanks for contributing!