Created
June 4, 2019 12:43
-
-
Save riccardolardi/91193af4b501d4c81b02bdf5bfdf8cea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.setState(state => { | |
view: { | |
...state.view, | |
lat: coords.lat, | |
lon: coords.lon | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment