diff --git a/components/composer.js b/components/composer.js index 992c135..eacc483 100644 --- a/components/composer.js +++ b/components/composer.js @@ -9,12 +9,12 @@ export default class Composer extends Component { constructor(props) { super(props); - this.handleChange = this.handleChange.bind(this); + this.handleInput = this.handleInput.bind(this); this.handleSubmit = this.handleSubmit.bind(this); this.handleWindowKeyDown = this.handleWindowKeyDown.bind(this); } - handleChange(event) { + handleInput(event) { this.setState({ [event.target.name]: event.target.value }); } @@ -48,7 +48,7 @@ export default class Composer extends Component { render() { return html` -
`;