mirror of
https://github.com/Noratrieb/hugos-lieblingsflugzeuge.git
synced 2026-01-17 05:05:05 +01:00
mehr flugzeuge
This commit is contained in:
parent
fddfef5829
commit
d17d5c37ff
13 changed files with 85 additions and 6 deletions
|
|
@ -15,10 +15,15 @@ class Home extends Component {
|
|||
const favs = this.state.favs
|
||||
.map(x => <ModelImage src={x.category + x.img} name={x.name} cat={x.category} key={x.category + x.name}/>);
|
||||
|
||||
const all = planes
|
||||
.map(x => <ModelImage src={x.category + x.img} name={x.name} cat={x.category} key={x.category + x.name}/>);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<h2>Hugos Favoriten</h2>
|
||||
{favs}
|
||||
<h2>Alle Flugzeuge</h2>
|
||||
{all}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue