|
|
@ -4,7 +4,6 @@ import {modifyStateToCreateRoom} from '../App' |
|
|
|
|
|
|
|
export default (props) => { |
|
|
|
let rooms = props.roomArray; |
|
|
|
console.log(rooms); |
|
|
|
if (rooms.length != 0) { |
|
|
|
let roomsList = rooms.map((room) => |
|
|
|
<RoomListItem roomName={room.name} private={room.passwordBool} capacity={room.capacity} occupancy={room.occupants} /> |
|
|
|