Skip to content

Commit

Permalink
fix host test
Browse files Browse the repository at this point in the history
  • Loading branch information
FadhlanR committed Dec 5, 2024
1 parent a07429f commit c14d551
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default class CodeSubmode extends Component<Signature> {
: null;
let sum = (obj: Record<string, number>) =>
Object.values(obj).reduce(
(sum, value) => sum + Number(value.toFixed(0)),
(sum, value) => sum + (value ? Number(value.toFixed(0)) : 0),
0,
);

Expand Down

0 comments on commit c14d551

Please sign in to comment.