From c1dd1b9bf348e491a0ad9bf5063bb33afe9efb2a Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 21 Jul 2021 23:19:33 -0700 Subject: [PATCH] fix exception --- webroot/js/components/chat/chat-input.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/webroot/js/components/chat/chat-input.js b/webroot/js/components/chat/chat-input.js index 367fc9bdf..f5f0a6dab 100644 --- a/webroot/js/components/chat/chat-input.js +++ b/webroot/js/components/chat/chat-input.js @@ -244,9 +244,6 @@ export default class ChatInput extends Component { if (key === ':' || key === ';') { this.injectEmoji(); } - this.setState({ - inputCharsLeft: CHAT_MAX_MESSAGE_LENGTH - textValue.length, - }); } handleMessageInputBlur() {