completed 2.8

This commit is contained in:
counterweight 2025-05-25 11:55:15 +02:00
parent 9753d15002
commit 5b33d34f0a
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
3 changed files with 18 additions and 4 deletions

View file

@ -3,7 +3,11 @@ const PersonList = ({ persons }) => {
<>
<ul>
{persons.map((person) => {
return <li key={person.name}>{person.name}</li>;
return (
<li key={person.name}>
{person.name} --- {person.number}
</li>
);
})}
</ul>
</>