~vesto/grooveboat

1099bcff805c762772c42a8e70706b21ede06ed7 — Steve Gattuso 5 years ago 1707ae9 + d1134d8
Merge branch 'master' of github.com:stevenleeg/grooveboat
1 files changed, 2 insertions(+), 1 deletions(-)

M src/js/pages/room/index.js
M src/js/pages/room/index.js => src/js/pages/room/index.js +2 -1
@@ 401,6 401,8 @@ const Chat = () => {
  };

  const onKeyPress = (e) => {
    if (sendingMessage) return;

    if (e.key === 'Enter') {
      dispatch(RoomActions.sendChat());
      e.preventDefault();


@@ 437,7 439,6 @@ const Chat = () => {
      <div className="chat--compose">
        <textarea
          placeholder="type it and hit enter"
          disabled={sendingMessage}
          onChange={onChange}
          value={newMessage}
          onKeyPress={onKeyPress}