mirror of
https://github.com/owncast/owncast.git
synced 2025-11-02 20:23:29 +08:00
contenteditable: remove warning about unknown property onContentChange (#3161)
This commit is contained in:
@ -53,6 +53,7 @@ export default class ContentEditable extends React.Component<ContentEditableProp
|
||||
const { tagName, html, ...newProps } = this.props;
|
||||
|
||||
delete newProps.onRootRef;
|
||||
delete newProps.onContentChange;
|
||||
|
||||
return React.createElement(tagName || 'div', {
|
||||
...newProps,
|
||||
|
||||
Reference in New Issue
Block a user