Skip to content

Commit

Permalink
fix trip tick n per trip
Browse files Browse the repository at this point in the history
  • Loading branch information
a-type committed Apr 10, 2024
1 parent 5d13591 commit c9c6373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/trip-tick/web/src/components/trips/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function getComputedQuantity({
additional: number;
}) {
if (perDays < 1) {
return additional + 1;
return quantity + additional;
}
return (
additional +
Expand Down

0 comments on commit c9c6373

Please sign in to comment.