From 4fbc7703ce529734375897c5f71fd5da4b347e45 Mon Sep 17 00:00:00 2001 From: mantikoros Date: Thu, 2 Jun 2022 14:27:01 -0500 Subject: [PATCH] create page: remove numeric markets --- web/pages/create.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/web/pages/create.tsx b/web/pages/create.tsx index 342eafeb..e8d28083 100644 --- a/web/pages/create.tsx +++ b/web/pages/create.tsx @@ -174,21 +174,16 @@ export function NewContract(props: { question: string; tag?: string }) { { - if (choice === 'NUMERIC') - setMarketInfoText( - 'Numeric markets are still experimental and subject to major revisions.' - ) - else if (choice === 'FREE_RESPONSE') + if (choice === 'FREE_RESPONSE') setMarketInfoText( 'Users can submit their own answers to this market.' ) else setMarketInfoText('') - setOutcomeType(choice as outcomeType) + setOutcomeType(choice as 'BINARY' | 'FREE_RESPONSE') }} choicesMap={{ 'Yes / No': 'BINARY', 'Free response': 'FREE_RESPONSE', - Numeric: 'NUMERIC', }} isSubmitting={isSubmitting} className={'col-span-4'}