create page: remove numeric markets
This commit is contained in:
		
							parent
							
								
									e1b1f30c55
								
							
						
					
					
						commit
						4fbc7703ce
					
				|  | @ -174,21 +174,16 @@ export function NewContract(props: { question: string; tag?: string }) { | ||||||
|       <ChoicesToggleGroup |       <ChoicesToggleGroup | ||||||
|         currentChoice={outcomeType} |         currentChoice={outcomeType} | ||||||
|         setChoice={(choice) => { |         setChoice={(choice) => { | ||||||
|           if (choice === 'NUMERIC') |           if (choice === 'FREE_RESPONSE') | ||||||
|             setMarketInfoText( |  | ||||||
|               'Numeric markets are still experimental and subject to major revisions.' |  | ||||||
|             ) |  | ||||||
|           else if (choice === 'FREE_RESPONSE') |  | ||||||
|             setMarketInfoText( |             setMarketInfoText( | ||||||
|               'Users can submit their own answers to this market.' |               'Users can submit their own answers to this market.' | ||||||
|             ) |             ) | ||||||
|           else setMarketInfoText('') |           else setMarketInfoText('') | ||||||
|           setOutcomeType(choice as outcomeType) |           setOutcomeType(choice as 'BINARY' | 'FREE_RESPONSE') | ||||||
|         }} |         }} | ||||||
|         choicesMap={{ |         choicesMap={{ | ||||||
|           'Yes / No': 'BINARY', |           'Yes / No': 'BINARY', | ||||||
|           'Free response': 'FREE_RESPONSE', |           'Free response': 'FREE_RESPONSE', | ||||||
|           Numeric: 'NUMERIC', |  | ||||||
|         }} |         }} | ||||||
|         isSubmitting={isSubmitting} |         isSubmitting={isSubmitting} | ||||||
|         className={'col-span-4'} |         className={'col-span-4'} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user