Update share-modal.tsx
This commit is contained in:
parent
4e22b8e332
commit
f1207e87ec
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user