limit conv name

This commit is contained in:
Elisee ADJIGUIDI 2023-06-26 06:00:38 +02:00
parent 9f323ee15d
commit 94e6250e17

View File

@ -277,6 +277,7 @@ const ModalSetting = ({ handleClose, convId, socket }: ModalSettingProps) => {
<input
onChange={(e) => setNewName(e.target.value)}
onKeyDown={handleName}
maxLength={25}
type="text"
className="in"
placeholder="New Name"