Prettified Code!

This commit is contained in:
gabek 2021-07-24 17:26:17 +00:00 committed by GitHub Action
parent 7526b5305c
commit 5f7cc6a327

View File

@ -124,7 +124,8 @@ export default class ChatInput extends Component {
}
const position = getCaretPosition(this.formMessageInput.current);
const newHTML = inputHTML.substring(0, position) +
const newHTML =
inputHTML.substring(0, position) +
content +
inputHTML.substring(position);