Created
September 12, 2020 13:40
-
-
Save andregardi/f4ee4cd89029757b9994507de2a3adaf to your computer and use it in GitHub Desktop.
This file contains 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
export const changeWeatherDescription = (store, description) => { | |
store.setState((state) => { | |
state.cities[0].weatherStatus.current.weather[0].description = description; | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment