Skip to content

Commit cfe62b1

Browse files
committed
remove onChange prop again before spreading to react-simple-code-editor
1 parent edba11c commit cfe62b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Editor/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ class CodeEditor extends Component {
5858
);
5959

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

6465
const baseTheme =

0 commit comments

Comments
 (0)