Remove useless code
This commit is contained in:
parent
b7f5a1d73b
commit
ff44815bdc
@ -159,7 +159,7 @@ class BreakoutRoom extends Component {
|
||||
onAssignRandomly() {
|
||||
const { numberOfRooms } = this.state;
|
||||
return this.getUserByRoom(0)
|
||||
.forEach(user => this.changeUserRoom(user.userId, Math.floor(Math.random() * (numberOfRooms - 1 + 1) + 1)));
|
||||
.forEach(user => this.changeUserRoom(user.userId, Math.floor(Math.random() * (numberOfRooms) + 1)));
|
||||
}
|
||||
|
||||
setRoomUsers() {
|
||||
|
Loading…
Reference in New Issue
Block a user