Skip to content

Commit

Permalink
chore(web): remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
brunocroh committed May 18, 2024
1 parent 09407a3 commit 23980c2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions apps/web/app/queue/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,12 @@ export default function Page(): JSX.Element {
process.env.NEXT_PUBLIC_SOCKET_URL!,
{
onOpen: () => {
console.log("connected");
sendJsonMessage({
type: "me",
});
},
onMessage: (event) => {
const data = JSON.parse(event.data);
console.log({ data });

switch (data.type) {
case "me":
Expand All @@ -61,7 +59,6 @@ export default function Page(): JSX.Element {
setUsersOnline(data.size);
break;
case "roomFound":
console.log({ data });
router.push(`/room/${data.roomId}`);
break;
default:
Expand Down

0 comments on commit 23980c2

Please sign in to comment.