Replaced null coalescence. Updated dates components.

This commit is contained in:
Patrick Fic
2020-01-24 09:41:35 -08:00
parent fbf8931f68
commit 32ce90ec9c
17 changed files with 550 additions and 87 deletions

View File

@@ -30,6 +30,7 @@ export default () => {
useEffect(() => {
//Run the auth code only on the first render.
const unsubscribeFromAuth = auth.onAuthStateChanged(async user => {
console.log("Auth State Changed.")
if (user) {
let token;
token = await user.getIdToken();