import Link from 'next/link' import { Contract, deleteContract } from '../lib/firebase/contracts' function ContractCard(props: { contract: Contract }) { const { contract } = props return (
  • {contract.question}

    {contract.outcomeType}

    {contract.id}

    {contract.description}

    Created on{' '}

  • ) } export function ContractsList(props: { contracts: Contract[] }) { const { contracts } = props return (
    ) }