Skip to content
Snippets Groups Projects
Commit 97647cc4 authored by Aleksander Aaboen's avatar Aleksander Aaboen
Browse files

Commented files

parent fa4caa91
No related branches found
No related tags found
1 merge request!117Alex
......@@ -50,11 +50,11 @@ export function UserAuthContextProvider({ children }) {
}
//todo kommenter
/**
* Function will set the current user, logged into the system.
*/
useEffect(() => {
const unsubscribe = onAuthStateChanged(auth, (currentuser) => {
console.log("Auth", currentuser);
setUser(currentuser);
});
return () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment