Update
parent
0d0d23657a
commit
3c966bb346
|
@ -12,7 +12,7 @@ const LoggedInLayout = ({ children }) => {
|
||||||
handleLogout();
|
handleLogout();
|
||||||
};
|
};
|
||||||
const { user } = React.useContext(AuthContext);
|
const { user } = React.useContext(AuthContext);
|
||||||
|
console.log(user.name);
|
||||||
|
|
||||||
if (loading) {
|
if (loading) {
|
||||||
return <Loading />;
|
return <Loading />;
|
||||||
|
|
Loading…
Reference in New Issue