Add max length to message box.

This commit is contained in:
Paul committed 2021-08-18 00:55:36 +01:00
1 parent 69cd410aff
commit b8c345f493
1 file changed
+1
@@ -497,6 +497,7 @@ export default observer(({ channel }: Props) => {
hideBorder
maxRows={20}
id="message"
maxLength={2000}
onKeyUp={onKeyUp}
value={draft ?? ""}
padding="var(--message-box-padding)"