Browse Source

fix(chat): restore placeholder value to what it was before

pull/3100/head
Gabe Kangas 2 years ago
parent
commit
06adee2bc2
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 2
      web/components/chat/ChatTextField/ChatTextField.tsx

2
web/components/chat/ChatTextField/ChatTextField.tsx

@ -257,7 +257,7 @@ export const ChatTextField: FC<ChatTextFieldProps> = ({ defaultText, enabled, fo @@ -257,7 +257,7 @@ export const ChatTextField: FC<ChatTextFieldProps> = ({ defaultText, enabled, fo
<ContentEditable
id="chat-input-content-editable"
html={text.current}
placeholder={enabled ? 'Type a message...' : 'Chat is disabled'}
placeholder={enabled ? 'Send a message to chat' : 'Chat is disabled'}
disabled={!enabled}
onKeyDown={onKeyDown}
onPaste={convertOnPaste}

Loading…
Cancel
Save