From 313c10c33ad59b428935b5eb969c24904cc0ec8a Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Thu, 4 Aug 2022 14:51:19 -0600 Subject: [PATCH] Cleanup --- web/components/contract/contract-overview.tsx | 5 +---- .../challenges/[username]/[contractSlug]/[challengeSlug].tsx | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) 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> </> ) : (