Update placeholder text for description

This commit is contained in:
James Grugett 2022-02-16 18:02:09 -06:00
parent 7af4375c17
commit 595d373fb1

View File

@ -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 <></>