Skip to content

Commit 3c58eb4

Browse files
(chore) remove unused code related to json editor
1 parent fe02259 commit 3c58eb4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/components/Editor.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ class Editor extends Component {
5050
constructor(props) {
5151
super(props);
5252

53-
this.onJsonChange = this.onJsonChange.bind(this);
5453
this.onSelectSuggestion = this.onSelectSuggestion.bind(this);
5554
this.onCaretChanged = this.onCaretChanged.bind(this);
5655

@@ -127,10 +126,6 @@ class Editor extends Component {
127126
}
128127
}
129128

130-
onJsonChange() {
131-
this.initSchema(this.props);
132-
}
133-
134129
onSelectSuggestion(suggestion) {
135130
const initialJsonPathLength = this.props.jsonpath.length;
136131

0 commit comments

Comments
 (0)