Skip to content

Commit

Permalink
Log level
Browse files Browse the repository at this point in the history
  • Loading branch information
corrideat committed Jan 29, 2024
1 parent 689e7a2 commit de4b87c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/views/containers/chatroom/SendArea.vue
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ export default ({
sbp('gi.actions/chatroom/user-stop-typing-event', {
contractID: this.currentChatRoomId
}).catch(e => {
console.info('Error emitting user stopped typing event', e)
console.error('Error emitting user stopped typing event', e)
})
} else if (this.ephemeral.textWithLines.length < newValue.length) {
// if the user is typing and the textarea value is growing, emit CHATROOM_USER_TYPING event.
Expand Down Expand Up @@ -735,12 +735,11 @@ export default ({
sbp('gi.actions/chatroom/user-typing-event', {
contractID: this.currentChatRoomId
}).catch(e => {
console.info('Error emitting user typing event', e)
console.error('Error emitting user typing event', e)
})
},
onBtnClick (e) {
e.preventDefault()
console.log('!@# on btn click: ', e)
}
}
}: Object)
Expand Down

0 comments on commit de4b87c

Please sign in to comment.