{
return (
-
diff --git a/app/components/todo/todo-input.js b/app/components/TodoInput.js
similarity index 67%
rename from app/components/todo/todo-input.js
rename to app/components/TodoInput.js
index fd2884f..ae71f0e 100644
--- a/app/components/todo/todo-input.js
+++ b/app/components/TodoInput.js
@@ -26,30 +26,22 @@ export default class TodoInput extends Component {
addTodo(trimValue);
this.setState({ value: '' });
}
- }
+ };
handleInputChange = (event: SyntheticInputEvent) => {
- const { target: { value } } = event;
+ const {
+ target: { value },
+ } = event;
this.setState({ value });
- }
+ };
render() {
const { value } = this.state;
return (
-