diff --git a/web/pages/challenges/index.tsx b/web/pages/challenges/index.tsx index d10724b5..9e42c8c7 100644 --- a/web/pages/challenges/index.tsx +++ b/web/pages/challenges/index.tsx @@ -27,11 +27,8 @@ import { Button } from 'web/components/button' import { ClipboardCopyIcon, QrcodeIcon } from '@heroicons/react/outline' import { copyToClipboard } from 'web/lib/util/copy' import toast from 'react-hot-toast' -<<<<<<< HEAD -======= import { Modal } from 'web/components/layout/modal' import { QRCode } from 'web/components/qr-code' ->>>>>>> 798253f8 (Challenge Bets (#679)) dayjs.extend(customParseFormat) const columnClass = 'sm:px-5 px-2 py-3.5 max-w-[100px] truncate' @@ -116,98 +113,13 @@ function YourChallengesTable(props: { links: Challenge[] }) { function YourLinkSummaryRow(props: { challenge: Challenge }) { const { challenge } = props const { acceptances } = challenge -<<<<<<< HEAD -======= const [open, setOpen] = React.useState(false) ->>>>>>> 798253f8 (Challenge Bets (#679)) const className = clsx( 'whitespace-nowrap text-sm hover:cursor-pointer text-gray-500 hover:bg-sky-50 bg-white' ) return ( -<<<<<<< HEAD - - - - {formatMoney(challenge.creatorAmount)} - - - - - - - - - - - - - {acceptances.length > 0 ? ( - <> - - - - ) : ( - - No one - - {challenge.expiresTime && - ` (expires ${fromNow(challenge.expiresTime)})`} - - )} - - - -======= <> - - - - Have your friend scan this to accept the challenge! - - - - @@ -220,7 +132,7 @@ function YourLinkSummaryRow(props: { challenge: Challenge }) { 'text-center sm:max-w-[200px] sm:text-start' )} > - + + + + + + + + + {acceptances.length > 0 ? ( + <> + + + + ) : ( + + No one - + {challenge.expiresTime && + ` (expires ${fromNow(challenge.expiresTime)})`} + + )} + + + + ->>>>>>> 798253f8 (Challenge Bets (#679)) ) }