Skip to content

Commit

Permalink
fixed 0 output
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyOGo committed Mar 29, 2018
1 parent 82c779f commit 462eb12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/demos/todomvc/todos.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ class Todos extends Component {
onSave={this.save}
onCancel={this.cancel}
/>,
((activeTodoCount || completedCount) && (
((activeTodoCount || completedCount) ? (
<TodoFooter count={activeTodoCount} completedCount={completedCount} nowShowing={state.nowShowing} onClearCompleted={this.clearCompleted} />
)),
) : null),
];
}
}
Expand Down

0 comments on commit 462eb12

Please sign in to comment.