Skip to content

Commit

Permalink
remove onChange prop again before spreading to react-simple-code-editor
Browse files Browse the repository at this point in the history
  • Loading branch information
jpdriver committed Jun 27, 2021
1 parent edba11c commit cfe62b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Editor/index.js
Expand Up @@ -58,7 +58,8 @@ class CodeEditor extends Component {
);

render() {
const { style, theme, ...rest } = this.props;
// eslint-disable-next-line no-unused-vars
const { style, theme, onChange, ...rest } = this.props;
const { code } = this.state;

const baseTheme =
Expand Down

0 comments on commit cfe62b1

Please sign in to comment.