import React from "react" import AddParticipant from "./add-participant" import CardsList from "./cards-list" import * as utils from "./utils" export default function(props) { if (!props.participants.length) return null return (

{utils.getParticipantsCopy(props.participants)}

) } export function getUserIsOwner(user, participants) { return participants[0].id === user.id }