Update the comment in line 76 of 11_Day_Events

The comment should be informing that the code is class component and not functional component.
pull/271/head
MinThent 3 years ago committed by GitHub
parent d0c066fcb9
commit 42d2384233
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -73,7 +73,7 @@ const App = () => {
```js ```js
import React, { Component } from 'react' import React, { Component } from 'react'
// if it is functional components // if it is class components
class App extends Component { class App extends Component {
greetPeople = () => { greetPeople = () => {
alert('Welcome to 30 Days Of React Challenge') alert('Welcome to 30 Days Of React Challenge')

Loading…
Cancel
Save