Fix React identifier typo

React identifier typo: change class to className.
pull/83/head
Matvii Hodovaniuk 5 years ago committed by GitHub
parent d38ff15bd7
commit 205f2a75b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,7 +10,7 @@ const Country = ({ country: { name, flag, population } }) => {
<img src={flag} alt={name} /> <img src={flag} alt={name} />
</div> </div>
<h3 className='country_name'>{name.toUpperCase()}</h3> <h3 className='country_name'>{name.toUpperCase()}</h3>
<div class='country_text'> <div className='country_text'>
<p> <p>
<span>Population: </span> <span>Population: </span>
{population} {population}

Loading…
Cancel
Save