Skip to content

Commit

Permalink
ci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gcavanunez committed Sep 5, 2023
1 parent 4fa7082 commit d0662b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions components/ChatRoom.vue
Original file line number Diff line number Diff line change
Expand Up @@ -255,15 +255,15 @@ const tooltip = ref(false);
<form @submit.prevent="mutateProfile">
<fieldset class="mb-[15px] flex items-center gap-5">
<label
class="text-grass11 w-[90px] text-right text-[15px]"
class="text-grass11 w-[90px] text-right sm:text-[15px]"
for="name"
>
Name
</label>
<input
id="name"
v-model="form.name"
class="text-grass11 shadow-green7 focus:shadow-green8 inline-flex h-[35px] w-full flex-1 items-center justify-center rounded-[4px] px-[10px] text-[15px] leading-none shadow-[0_0_0_1px] outline-none focus:shadow-[0_0_0_2px]"
class="text-grass11 shadow-green7 focus:shadow-green8 inline-flex h-[35px] w-full flex-1 items-center justify-center rounded-[4px] px-[10px] leading-none shadow-[0_0_0_1px] outline-none focus:shadow-[0_0_0_2px] sm:text-[15px]"
/>
</fieldset>
<div class="mt-[25px] flex justify-end">
Expand Down
16 changes: 8 additions & 8 deletions party/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default {
// connection.send("Hello, world!"); // Send a message to the client

connection.addEventListener("message", (event) => {
console.log(event.data); // Log a message from the client
console.info(event.data); // Log a message from the client

Check warning on line 19 in party/server.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected console statement
const payload = parseEvent(event.data);
if (payload.event === "send-message") {
const safeData = payload.payload;
Expand Down Expand Up @@ -58,7 +58,7 @@ export default {
},
});
party.broadcast(pong);
console.log("closed");
console.info("closed");

Check warning on line 61 in party/server.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected console statement
});

// everyone already connected needs to get the new user
Expand Down Expand Up @@ -86,18 +86,18 @@ export default {
},
onRequest(_req: PartyRequest, party: Party) {
// ...
console.log(party.env);
console.info(party.env);

Check warning on line 89 in party/server.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected console statement

// console.log(process.env.WHATUP);
console.log(party.context.parties);
// console.info(process.env.WHATUP);
console.info(party.context.parties);

Check warning on line 92 in party/server.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected console statement
// const res = await room.parties.xyz.get("some-id").fetch();
// console.log("gottt", await res.text());
// console.info("gottt", await res.text());
// const wssss = room.parties.xyz.get("some-id").connect();
// room.addEventListener("message", (evt) => {
// console.log("got a message from xyz", evt.data);
// console.info("got a message from xyz", evt.data);
// });

// console.log(SOME_GLOBAL);
// console.info(SOME_GLOBAL);
party.broadcast("Yoo from");
return new Response("Hello world:" + party.id);
// s
Expand Down

0 comments on commit d0662b7

Please sign in to comment.