mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-12 12:40:33 +08:00
Fix type
This commit is contained in:
@@ -67,8 +67,7 @@ interface StudyDetailResponse {
|
||||
has_intermediate_values: boolean
|
||||
note: Note
|
||||
objective_names?: string[]
|
||||
objective_form_widgets?: ObjectiveFormWidget[]
|
||||
form_widgets_output_type?: string
|
||||
objective_form_widgets?: FormWidgets
|
||||
}
|
||||
|
||||
export const getStudyDetailAPI = (
|
||||
@@ -102,7 +101,6 @@ export const getStudyDetailAPI = (
|
||||
note: res.data.note,
|
||||
objective_names: res.data.objective_names,
|
||||
objective_form_widgets: res.data.objective_form_widgets,
|
||||
form_widgets_output_type: res.data.form_widgets_output_type,
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user