Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
knshnb committed Apr 12, 2023
1 parent 765b0d3 commit 031a1e1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions optuna_dashboard/ts/apiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand Down Expand Up @@ -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,
}
})
}
Expand Down

0 comments on commit 031a1e1

Please sign in to comment.