mirror of
https://github.com/owncast/owncast.git
synced 2025-11-03 04:27:18 +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;
|
const { tagName, html, ...newProps } = this.props;
|
||||||
|
|
||||||
delete newProps.onRootRef;
|
delete newProps.onRootRef;
|
||||||
|
delete newProps.onContentChange;
|
||||||
|
|
||||||
return React.createElement(tagName || 'div', {
|
return React.createElement(tagName || 'div', {
|
||||||
...newProps,
|
...newProps,
|
||||||
|
|||||||
Reference in New Issue
Block a user