From cb009551cbe4a5fe499af0b7ecf34463ba7c5c13 Mon Sep 17 00:00:00 2001 From: canove Date: Wed, 7 Oct 2020 06:47:05 -0300 Subject: [PATCH] fix: last commit broke sendinf files with CTRL + V --- frontend/src/components/MessageInput/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/MessageInput/index.js b/frontend/src/components/MessageInput/index.js index 07731a5..fdce4d9 100644 --- a/frontend/src/components/MessageInput/index.js +++ b/frontend/src/components/MessageInput/index.js @@ -329,7 +329,7 @@ const MessageInput = ({ ticketStatus }) => { onChange={handleChangeInput} disabled={recording || loading || ticketStatus !== "open"} onPaste={e => { - ticketStatus === "open" && handleInputPaste(); + ticketStatus === "open" && handleInputPaste(e); }} onKeyPress={e => { if (loading || e.shiftKey) return;