Skip to content

Commit

Permalink
chore: remove debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
ddiu8081 committed Dec 1, 2022
1 parent 60f7752 commit 7573c2a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/utils/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ class MsgQueue {
private items: QueueItem[] = []
push = (item: QueueItem) => {
this.items.push(item)
this.debug()
if (this.items.length > 10) {
this.items.shift()
}
Expand All @@ -17,7 +16,6 @@ class MsgQueue {
return Math.abs(timestamp - queueTimestamp) < 1200 && content === queueContent
})
}
debug = () => console.log(this.items)
}

const msgQueue = new MsgQueue()
Expand Down

0 comments on commit 7573c2a

Please sign in to comment.