We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3da4ab2 commit 92105beCopy full SHA for 92105be
examples/todos-with-undo/components/AddTodo.js
@@ -5,7 +5,7 @@ export default class AddTodo extends Component {
5
e.preventDefault();
6
const node = this.refs.input;
7
const text = node.value.trim();
8
- if(text){
+ if (text) {
9
this.props.onAddSubmit(text);
10
node.value = '';
11
}
0 commit comments