Update share-modal.tsx

This commit is contained in:
Pico2x 2022-10-05 15:18:53 +01:00
parent 4e22b8e332
commit f1207e87ec

View File

@ -1,5 +1,3 @@
import { LinkIcon } from '@heroicons/react/outline'
import { Contract } from 'common/contract' import { Contract } from 'common/contract'
import { contractPath } from 'web/lib/firebase/contracts' import { contractPath } from 'web/lib/firebase/contracts'
import { Col } from '../layout/col' import { Col } from '../layout/col'
@ -32,7 +30,6 @@ export function ShareModal(props: {
const [openCreateChallengeModal, setOpenCreateChallengeModal] = const [openCreateChallengeModal, setOpenCreateChallengeModal] =
useState(false) useState(false)
const linkIcon = <LinkIcon className="mr-2 h-6 w-6" aria-hidden="true" />
const showChallenge = const showChallenge =
user && outcomeType === 'BINARY' && !resolution && CHALLENGES_ENABLED user && outcomeType === 'BINARY' && !resolution && CHALLENGES_ENABLED