forked from Roflin/gamenight
21 lines
279 B
JavaScript
21 lines
279 B
JavaScript
import React from 'react';
|
|
|
|
function Gamenights(props) {
|
|
|
|
console.log(props.gamenights);
|
|
|
|
let gamenights = props.gamenights.map(g =>
|
|
(<li>{g.game}</li>)
|
|
);
|
|
|
|
console.log(gamenights);
|
|
|
|
return (
|
|
<ul>
|
|
{gamenights}
|
|
</ul>
|
|
);
|
|
}
|
|
|
|
export default Gamenights
|