Showing
1 changed file
with
0 additions
and
2 deletions
... | @@ -37,8 +37,6 @@ export const Chat: React.FC<ChatProps> = (props) => { | ... | @@ -37,8 +37,6 @@ export const Chat: React.FC<ChatProps> = (props) => { |
37 | 37 | ||
38 | const handleEnter = useCallback((e: React.KeyboardEvent) => { | 38 | const handleEnter = useCallback((e: React.KeyboardEvent) => { |
39 | if (e.key === 'Enter') { | 39 | if (e.key === 'Enter') { |
40 | - // setChatLines([...chatLines, { sender: 'me', message: input }]); | ||
41 | - | ||
42 | const rawMessage: RawMessage = { | 40 | const rawMessage: RawMessage = { |
43 | type: MessageType.ROOM_CHAT, | 41 | type: MessageType.ROOM_CHAT, |
44 | message: { message: input } | 42 | message: { message: input } | ... | ... |
-
Please register or login to post a comment