diff --git a/web/components/challenges/create-challenge-button.tsx b/web/components/challenges/create-challenge-button.tsx
index ecb18e2e..bbb81113 100644
--- a/web/components/challenges/create-challenge-button.tsx
+++ b/web/components/challenges/create-challenge-button.tsx
@@ -63,12 +63,13 @@ export function CreateChallengeButton(props: {
>
)
diff --git a/web/components/contract/contract-overview.tsx b/web/components/contract/contract-overview.tsx
index 2e62dde9..2b8424b5 100644
--- a/web/components/contract/contract-overview.tsx
+++ b/web/components/contract/contract-overview.tsx
@@ -19,7 +19,7 @@ import { AnswersGraph } from '../answers/answers-graph'
import { Contract, CPMMBinaryContract } from 'common/contract'
import { ContractDescription } from './contract-description'
import { ContractDetails } from './contract-details'
-import { ShareMarket } from '../share-market'
+import { ShareMarketButton } from '../share-market-button'
import { NumericGraph } from './numeric-graph'
import { CreateChallengeButton } from 'web/components/challenges/create-challenge-button'
import React from 'react'
@@ -118,16 +118,26 @@ export const ContractOverview = (props: {
)}
{outcomeType === 'NUMERIC' && }
- {(contract.description || isCreator) && }
- {showChallenge && (
-
- )}
- {isCreator && }
+ {/* {(contract.description || isCreator) && } */}
+
+ {showChallenge && (
+
+ ⚔️ Challenge a friend ⚔️
+
+
+ )}
+ {isCreator && (
+
+ Share your market
+
+
+ )}
+
)
}
diff --git a/web/components/share-market-button.tsx b/web/components/share-market-button.tsx
new file mode 100644
index 00000000..ef7b688d
--- /dev/null
+++ b/web/components/share-market-button.tsx
@@ -0,0 +1,18 @@
+import { ENV_CONFIG } from 'common/envs/constants'
+import { Contract, contractPath, contractUrl } from 'web/lib/firebase/contracts'
+import { CopyLinkButton } from './copy-link-button'
+
+export function ShareMarketButton(props: { contract: Contract }) {
+ const { contract } = props
+
+ const url = `https://${ENV_CONFIG.domain}${contractPath(contract)}`
+
+ return (
+
+ )
+}
diff --git a/web/components/share-market.tsx b/web/components/share-market.tsx
deleted file mode 100644
index 7e036188..00000000
--- a/web/components/share-market.tsx
+++ /dev/null
@@ -1,26 +0,0 @@
-import clsx from 'clsx'
-import { ENV_CONFIG } from 'common/envs/constants'
-import { Contract, contractPath, contractUrl } from 'web/lib/firebase/contracts'
-import { CopyLinkButton } from './copy-link-button'
-import { Col } from './layout/col'
-import { Row } from './layout/row'
-
-export function ShareMarket(props: { contract: Contract; className?: string }) {
- const { contract, className } = props
-
- const url = `https://${ENV_CONFIG.domain}${contractPath(contract)}`
-
- return (
-
- Share your market
-
-
-
-
- )
-}