setOtherTeamMenuState([
...otherTeamMenuState,
(otherTeamMenuState[index] = {
...otherTeamMenuState[index],
teamMenuOpen: !otherTeamMenuState[index].teamMenuOpen,
}),
])
}>
{otherTeamMenuState[index].teamMenuOpen ? (
) : (
)}
{otherTeam.name}
{!otherTeam.accepted && (
Inv.
)}