File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
ep16-new-css/app/components Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -62,17 +62,17 @@ export default class App extends React.Component {
62
62
< button > Submit </ button >
63
63
</ form >
64
64
65
+ < DisplayList
66
+ handleDone = { this . handleDone . bind ( this ) }
67
+ handleDelete = { this . handleDelete . bind ( this ) }
68
+ todos = { this . state . todos } />
69
+
65
70
< footer >
66
71
All: ({ this . state . todos . length } ) |
67
72
Completed: ({ this . state . todos . filter ( ( todo ) => { return todo . done } ) . length } ) |
68
73
Pending: ({ this . state . todos . filter ( ( todo ) => { return ! todo . done } ) . length } ) |
69
74
< a href = '#' onClick = { this . handleClearCompleted . bind ( this ) } > Clear Completed</ a >
70
75
</ footer >
71
-
72
- < DisplayList
73
- handleDone = { this . handleDone . bind ( this ) }
74
- handleDelete = { this . handleDelete . bind ( this ) }
75
- todos = { this . state . todos } />
76
76
</ div > ;
77
77
}
78
78
}
You can’t perform that action at this time.
0 commit comments