Skip to content

Commit

Permalink
fix: rooms generated upto max limit #140 (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
parvez-ahammed authored Jan 9, 2025
1 parent b686568 commit d2de36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/helpers/utility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function populateRoomCapacity(max: number) {
const options = [];
let capacity = 1;

while (capacity < max) {
while (capacity <= max) {
options.push(capacity.toString());
capacity += 1;
}
Expand Down

0 comments on commit d2de36b

Please sign in to comment.