Removed unnecessary code in changeAnimal snippet.

// accessing the state value
const count = this.state.count
pull/216/head
Mayank Walia 3 years ago committed by GitHub
parent d0c066fcb9
commit 1306a8109d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -201,8 +201,6 @@ class App extends React.Component {
} }
render() { render() {
// accessing the state value
const count = this.state.count
return ( return (
<div className='App'> <div className='App'>
<h1>30 Days Of React</h1> <h1>30 Days Of React</h1>

Loading…
Cancel
Save