diff --git a/web/components/contract/share-modal.tsx b/web/components/contract/share-modal.tsx index ff3f41ae..e1eb26eb 100644 --- a/web/components/contract/share-modal.tsx +++ b/web/components/contract/share-modal.tsx @@ -9,7 +9,6 @@ import { Row } from '../layout/row' import { ShareEmbedButton } from '../share-embed-button' import { Title } from '../title' import { TweetButton } from '../tweet-button' -import { DuplicateContractButton } from '../copy-contract-button' import { Button } from '../button' import { copyToClipboard } from 'web/lib/util/copy' import { track, withTracking } from 'web/lib/service/analytics' @@ -21,6 +20,7 @@ import { REFERRAL_AMOUNT } from 'common/economy' import { CreateChallengeModal } from 'web/components/challenges/create-challenge-modal' import { useState } from 'react' import { CHALLENGES_ENABLED } from 'common/challenge' +import ChallengeIcon from 'web/lib/icons/challenge-icon' export function ShareModal(props: { contract: Contract @@ -56,8 +56,8 @@ export function ShareModal(props: {

- or - {showChallenge && ( - - )} + + - + + {showChallenge && ( + + )} diff --git a/web/components/share-embed-button.tsx b/web/components/share-embed-button.tsx index 79c63d5a..0a5dc0c9 100644 --- a/web/components/share-embed-button.tsx +++ b/web/components/share-embed-button.tsx @@ -40,14 +40,7 @@ export function ShareEmbedButton(props: { contract: Contract }) { track('copy embed code') }} > - + {codeIcon} Embed