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

This commit is contained in:
Gabe Kangas 2023-06-22 09:48:26 -07:00
parent 096834020e
commit 06adee2bc2
No known key found for this signature in database
GPG key ID: 4345B2060657F330

View file

@ -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}