Merge branch 'pr/451'
This commit is contained in:
commit
03eed9693b
|
@ -40,6 +40,8 @@ const EmptyChatMessageInput = ({
|
||||||
|
|
||||||
document.addEventListener('keydown', handleKeyDown);
|
document.addEventListener('keydown', handleKeyDown);
|
||||||
|
|
||||||
|
inputRef.current?.focus();
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
document.removeEventListener('keydown', handleKeyDown);
|
document.removeEventListener('keydown', handleKeyDown);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue