mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
fix(chat): restore placeholder value to what it was before
This commit is contained in:
parent
096834020e
commit
06adee2bc2
@ -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…
x
Reference in New Issue
Block a user