Created
April 30, 2019 16:15
-
-
Save abhishekjakhar/1024603a093a4297debd290ce76bcd49 to your computer and use it in GitHub Desktop.
updateMocktail Function
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
updateMocktail = mocktail => { | |
const newMocktail = mocktail; | |
this.setState({ | |
mocktail | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment