diff --git a/README.md b/README.md index 70feb3bae8..d4c944b820 100644 --- a/README.md +++ b/README.md @@ -66,8 +66,8 @@ class App extends React.Component { console.log(`Selected: ${selectedOption.label}`); } render() { - const { selectedOption } = this.state; - const value = selectedOption && selectedOption.value; + const { selectedOption } = this.state; + const value = selectedOption && selectedOption.value; return (