@@ -5,6 +5,12 @@ App = React.createClass({
// This mixin makes the getMeteorData work.
mixins: [ReactMeteorData],
+ getInitialState() {
+ return {
+ hideCompleted: false
+ };
+ },
+
// Loads items from the Tasks collection and puts them on this.data.tasks.
getMeteorData() {
let result = {