diff --git a/src/components/views/dialogs/DevtoolsDialog.js b/src/components/views/dialogs/DevtoolsDialog.js index 83bb910f..6b553eed 100644 --- a/src/components/views/dialogs/DevtoolsDialog.js +++ b/src/components/views/dialogs/DevtoolsDialog.js @@ -66,6 +66,10 @@ class SendCustomEvent extends React.Component { this.setState({ message }); } + _additionalFields() { + return
; + } + render() { if (this.state.message) { return
@@ -78,6 +82,7 @@ class SendCustomEvent extends React.Component { return
+ {this._additionalFields()}
@@ -103,40 +108,14 @@ class SendCustomStateEvent extends SendCustomEvent { this.refs.stateKey.value); } - render() { - if (this.state.message) { - return
-
- {this.state.message} -
- {this._buttons()} -
; - } - + _additionalFields() { return
-
-
- -
-
- -
- -
- -
-
- -
- -
- -
-
-