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
