Moved inputform and feed to index

This commit is contained in:
Liyas Thomas
2020-01-21 00:52:45 +05:30
parent 19a2323880
commit c7e5fc47ba
6 changed files with 83 additions and 25 deletions

View File

@@ -52,12 +52,10 @@ ballsCollection
ball.id = doc.id;
balls.push(ball);
});
console.log("Received Balls feed:", balls);
store.ballsInFeed = balls;
});
// When a user logs in or out, save that in the store
firebase.auth().onAuthStateChanged(user => {
console.log("Logged in as:", user);
store.currentUser = user;
});