diff --git a/web/components/contract/contract-overview.tsx b/web/components/contract/contract-overview.tsx index 56f51569..b7cfeb58 100644 --- a/web/components/contract/contract-overview.tsx +++ b/web/components/contract/contract-overview.tsx @@ -19,15 +19,12 @@ import { AnswersGraph } from '../answers/answers-graph' import { Contract, CPMMBinaryContract } from 'common/contract' import { ContractDescription } from './contract-description' import { ContractDetails } from './contract-details' -import { ShareMarketButton } from '../share-market-button' import { NumericGraph } from './numeric-graph' import { CreateChallengeButton } from 'web/components/challenges/create-challenge-button' import React from 'react' import { copyToClipboard } from 'web/lib/util/copy' -import { getChallengeUrl } from 'web/lib/firebase/challenges' import toast from 'react-hot-toast' -import { ClipboardCopyIcon, LinkIcon } from '@heroicons/react/outline' -import { Button } from 'web/components/button' +import { LinkIcon } from '@heroicons/react/outline' export const ContractOverview = (props: { contract: Contract diff --git a/web/pages/challenges/[username]/[contractSlug]/[challengeSlug].tsx b/web/pages/challenges/[username]/[contractSlug]/[challengeSlug].tsx index 85dad248..baf68e2a 100644 --- a/web/pages/challenges/[username]/[contractSlug]/[challengeSlug].tsx +++ b/web/pages/challenges/[username]/[contractSlug]/[challengeSlug].tsx @@ -232,8 +232,8 @@ function ClosedChallengeContent(props: { {resolution ? ( <> - <SiteLink href={href} className={'mb-8'}> - <span className="text-xl ">{question}</span> + <SiteLink href={href} className={'mb-8 text-xl'}> + {question} </SiteLink> </> ) : (