merge issue

This commit is contained in:
mantikoros 2022-08-04 22:06:30 -07:00
parent f6b9f74328
commit 935ded939a

View File

@ -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,16 +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
<>
<tr id={challenge.slug} key={challenge.slug} className={className}>
<td className={amountClass}>
<SiteLink href={getChallengeUrl(challenge)}>
@ -194,7 +188,6 @@ function YourLinkSummaryRow(props: { challenge: Challenge }) {
</Row>
</td>
</tr>
=======
<>
<Modal open={open} setOpen={setOpen} size={'sm'}>
<Col
@ -274,7 +267,7 @@ function YourLinkSummaryRow(props: { challenge: Challenge }) {
</td>
</tr>
</>
>>>>>>> 798253f8 (Challenge Bets (#679))
</>
)
}