Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
bveal52 committed Dec 16, 2024
1 parent 4867467 commit 6b89a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/frontend/app/components/Parameter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const Parameter = ({ form, type, index, confirmedValues, setConfirmedValues, ...

const handleSwitchChange = () => {
setUseDefault(!useDefault);
//tslint:disable-next-line
// @ts-ignore
if(`hyperparameters.${index}.default` != -1){
form.setFieldValue(`hyperparameters.${index}.useDefault`, !useDefault);
}
Expand Down

0 comments on commit 6b89a39

Please sign in to comment.