import { Fragment } from 'react' export default function PlacementTable({ groups = [] }) { return (
Placement {Array.isArray(groups[0]) ? ( groups.map((subgroup) => { return ( '), }} />
) }) ) : ( '), }} /> )}
) } function wrapLastItem(arr, wrapper) { arr[arr.length - 1] = `<${wrapper}>${arr[arr.length - 1]}` return arr }