mirror of
				https://github.com/owncast/owncast.git
				synced 2025-11-04 05:17:27 +08:00 
			
		
		
		
	fix(chat): restore placeholder value to what it was before
This commit is contained in:
		@ -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}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user