Skip to content

Commit

Permalink
fix(frontend): fix TS errors in parameter thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourgreens committed Nov 20, 2024
1 parent bcb653d commit 4dd4317
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend-v2/src/features/model/VariableRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,10 @@ const VariableRow: FC<Props> = ({
if (type === "AUC") {
setThresholds({
...thresholds,
[variable.name]: 0,
[variable.name]: {
lower: 0,
upper: Infinity,
},
});
}
};
Expand Down

0 comments on commit 4dd4317

Please sign in to comment.