From cdf25ba65971042a5c065d98da37d07da41fbf6f Mon Sep 17 00:00:00 2001 From: mantikoros Date: Sun, 2 Jan 2022 12:57:52 -0600 Subject: [PATCH] contract page seo tags --- web/pages/[username]/[contractSlug].tsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/web/pages/[username]/[contractSlug].tsx b/web/pages/[username]/[contractSlug].tsx index 4fe92741..fa9bbac6 100644 --- a/web/pages/[username]/[contractSlug].tsx +++ b/web/pages/[username]/[contractSlug].tsx @@ -55,15 +55,16 @@ export default function ContractPage(props: { const isCreator = user?.id === creatorId const { probPercent } = compute(contract) - const title = resolution - ? `Resolved ${resolution}: ${question}` - : `${probPercent} chance: ${question}` + + const description = resolution + ? `Resolved ${resolution}. ${contract.description}` + : `${probPercent} chance. ${contract.description}` return (