Skip to content

Commit

Permalink
removed log
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyOGo committed Mar 29, 2018
1 parent b7adb36 commit acec1a9
Showing 1 changed file with 17 additions and 21 deletions.
38 changes: 17 additions & 21 deletions src/demos/todomvc/todo-header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,27 +50,23 @@ const TodoHeader = ({
newTodo,
handleNewTodoKeyDown,
handleChange,
}) => {
console.log('render todo header');
}) => (
<AXAHeaderReact>
<AXAHeaderMainReact firstLeft>
<AXAHeaderLogoReact />
<h1 className="m-todo-header__title">Todos</h1>

return (
<AXAHeaderReact>
<AXAHeaderMainReact firstLeft>
<AXAHeaderLogoReact />
<h1 className="m-todo-header__title">Todos</h1>

<Input
className="m-todo-header__new"
placeholder="What needs to be done?"
editing={editing}
value={newTodo}
onKeyDown={handleNewTodoKeyDown}
onChange={handleChange}
autoFocus={!editing}
/>
</AXAHeaderMainReact>
</AXAHeaderReact>
);
}
<Input
className="m-todo-header__new"
placeholder="What needs to be done?"
editing={editing}
value={newTodo}
onKeyDown={handleNewTodoKeyDown}
onChange={handleChange}
autoFocus={!editing}
/>
</AXAHeaderMainReact>
</AXAHeaderReact>
);

export default TodoHeader;

0 comments on commit acec1a9

Please sign in to comment.