Replaced null coalescence. Updated dates components.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user