From 595d373fb1b3abc4a72ab3245867c580bb26b580 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Wed, 16 Feb 2022 18:02:09 -0600 Subject: [PATCH] Update placeholder text for description --- web/pages/create.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/pages/create.tsx b/web/pages/create.tsx index 20f8fbec..0df46d4d 100644 --- a/web/pages/create.tsx +++ b/web/pages/create.tsx @@ -123,7 +123,10 @@ export function NewContract(props: { question: string; tag?: string }) { await router.push(contractPath(result.contract as Contract)) } - const descriptionPlaceholder = `e.g. This market resolves to "YES" if, two weeks after closing, the...` + const descriptionPlaceholder = + outcomeType === 'BINARY' + ? `e.g. This market resolves to "YES" if, two weeks after closing, the...` + : `e.g. I will choose the answer according to...` if (!creator) return <>