using firebase user!!!! note that it's different than our user table

This commit is contained in:
talksik
2022-05-28 12:24:49 -05:00
parent f90756c81b
commit 6f55b573e1
+2 -5
View File
@@ -233,7 +233,7 @@ const Navbar = () => {
setAnchorEl(null); setAnchorEl(null);
}; };
const { logout } = useAuth(); const { logout, user } = useAuth();
return ( return (
<> <>
@@ -283,10 +283,7 @@ const Navbar = () => {
aria-haspopup="true" aria-haspopup="true"
aria-expanded={open ? 'true' : undefined} aria-expanded={open ? 'true' : undefined}
> >
<Avatar <Avatar alt={user.displayName} src={user.photoURL} />
alt={'Arjun Patel'}
src="https://lh3.googleusercontent.com/ogw/ADea4I6TRqnIptWNP25-iXdusoAHafj-cUPYkO53xKT2_H0=s64-c-mo"
/>
</IconButton> </IconButton>
</Stack> </Stack>