File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
app/(main)/questions/create
components/forecast_maker/forecast_maker_group Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -162,15 +162,13 @@ const Creator: React.FC<{ searchParams: Promise<SearchParams> }> = async (
162
162
questionType = { t ( "numericGroup" ) }
163
163
questionExample = { `"${ t ( "numericGroupExample" ) } "` }
164
164
/>
165
- { /* {currentUser?.is_staff && ( // TODO: launch Discrete group questions
166
- <QuestionTypePicker
167
- url={createHref("/questions/create/group", {
168
- subtype: QuestionType.Discrete,
169
- }) }
170
- questionType={t("discreteGroup")}
171
- questionExample={`"${t("discreteGroupExample")}"`}
172
- />
173
- )} */ }
165
+ < QuestionTypePicker
166
+ url = { createHref ( "/questions/create/group" , {
167
+ subtype : QuestionType . Discrete ,
168
+ } ) }
169
+ questionType = { t ( "discreteGroup" ) }
170
+ questionExample = { `"${ t ( "discreteGroupExample" ) } "` }
171
+ />
174
172
< QuestionTypePicker
175
173
url = { createHref ( "/questions/create/group" , {
176
174
subtype : QuestionType . Date ,
Original file line number Diff line number Diff line change @@ -594,7 +594,7 @@ const ForecastMakerGroupContinuous: FC<Props> = ({
594
594
type = "button"
595
595
isPromptOpen = { isWithdrawModalOpen }
596
596
isPending = { isSubmitting }
597
- onSubmit = { handlePredictWithdraw }
597
+ onSubmit = { ( ) => handlePredictWithdraw ( ) }
598
598
onPromptVisibilityChange = { setIsWithdrawModalOpen }
599
599
>
600
600
{ t ( "withdrawAll" ) }
You can’t perform that action at this time.
0 commit comments