Skip to content

Commit 481c3cb

Browse files
move footer to bottom
1 parent 7cf5dcd commit 481c3cb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ep16-new-css/app/components/App.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,17 @@ export default class App extends React.Component {
6262
<button> Submit </button>
6363
</form>
6464

65+
<DisplayList
66+
handleDone={this.handleDone.bind(this)}
67+
handleDelete={this.handleDelete.bind(this)}
68+
todos={this.state.todos} />
69+
6570
<footer>
6671
All: ({ this.state.todos.length }) |
6772
Completed: ({ this.state.todos.filter((todo) => { return todo.done }).length }) |
6873
Pending: ({ this.state.todos.filter((todo) => { return !todo.done }).length }) |
6974
<a href='#' onClick={this.handleClearCompleted.bind(this)}>Clear Completed</a>
7075
</footer>
71-
72-
<DisplayList
73-
handleDone={this.handleDone.bind(this)}
74-
handleDelete={this.handleDelete.bind(this)}
75-
todos={this.state.todos} />
7676
</div>;
7777
}
7878
}

0 commit comments

Comments
 (0)