import React from 'react'
import { InertiaLink } from '@inertiajs/inertia-react'
import Layout from '@/Shared/Layout'
const GameRow = (game, index) => {
return
{game.map}
Played: {game.datestamp.split(/[T]/)[0]}
;
}
export default function Games(props) {
return (
{ props.games.map((game, index) => GameRow(game, index)) }
)
}