diff --git a/pages/editor.js b/pages/editor.js index 3308020..19e8f68 100644 --- a/pages/editor.js +++ b/pages/editor.js @@ -111,8 +111,7 @@ class Editor extends React.Component { /> - this.setState({ language: language.mime || language.mode })} + onChange={language => this.setState({ language: language.mime || language.mode })} /> this.setState({ background: color })}