Created
October 3, 2017 21:52
-
-
Save AndrewRayCode/1ccabe0c1a9328f9926fea712dc97e94 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
const newStatus = { ...this.state.status }; // Copy the object | |
newStatus['Downloading the song'][1] = 'Info'; | |
this.setState({status : newStatus }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment