Skip to content

Commit

Permalink
Merge pull request #583 from RobzLegz/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
RobzLegz authored Nov 18, 2021
2 parents e331328 + 2a99a15 commit 4c8a3cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/containers/rooms/RoomContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ const RoomContainer: React.FC = () => {
if(!socketInfo.connected || !socket){
dispatch(setSocket(true));
}else{
socket.emit("requestUsers");

socket.on("getRooms", (rooms: Room[]) => {
rooms.forEach((room) => {
dispatch(addRoom(room));
Expand Down

1 comment on commit 4c8a3cc

@vercel
Copy link

@vercel vercel bot commented on 4c8a3cc Nov 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.