mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 12:49:37 +03:00
fix(chat): restore placeholder value to what it was before
This commit is contained in:
parent
096834020e
commit
06adee2bc2
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ export const ChatTextField: FC<ChatTextFieldProps> = ({ defaultText, enabled, fo
|
||||||
<ContentEditable
|
<ContentEditable
|
||||||
id="chat-input-content-editable"
|
id="chat-input-content-editable"
|
||||||
html={text.current}
|
html={text.current}
|
||||||
placeholder={enabled ? 'Type a message...' : 'Chat is disabled'}
|
placeholder={enabled ? 'Send a message to chat' : 'Chat is disabled'}
|
||||||
disabled={!enabled}
|
disabled={!enabled}
|
||||||
onKeyDown={onKeyDown}
|
onKeyDown={onKeyDown}
|
||||||
onPaste={convertOnPaste}
|
onPaste={convertOnPaste}
|
||||||
|
|
Loading…
Reference in a new issue