Skip to content

Commit

Permalink
Deleted comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Schopp committed Oct 31, 2023
1 parent b6e74a5 commit 967cb1c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions examples/chat/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,6 @@ document
.getElementById('message-form')!
.addEventListener('submit', function (event) {
event.preventDefault()
// const ps = [
// new Promise((res,rej)=>{peer.set("test1",5).then(res).catch(rej)}),
// new Promise((res,rej)=>{peer.set("test2",15).then(res).catch(rej)})
// ]
// Promise.allSettled(ps).then((res)=>{
// console.log(res)
// })
const messageInput = document.getElementById('message')! as HTMLInputElement
const sendButton = document.getElementById('send')! as HTMLButtonElement
const message = messageInput.value
Expand Down

0 comments on commit 967cb1c

Please sign in to comment.