franius8 / todo-site

Either all code paths should have explicit returns, or none of them JS-0045
Anti-pattern
Minor
a year agoa year old
Expected to return a value at the end of async arrow function.
46        let rawDoneToDoAry: ToDoInterface[] = [];
47        let rawProjectAry: ProjectInterface[] = [];
48        let rawDoneProjectAry: ProjectInterface[] = [];
49        onAuthStateChanged(auth,  async (user) => {50            if (user) {
51                const docRef = doc(db, "users", user.uid);
52                const docSnap = await getDoc(docRef);