chore: header component

This commit is contained in:
Sean Norwood 2022-04-03 00:26:42 +00:00
parent 1e3087c245
commit d880f95c44

View File

@ -0,0 +1,14 @@
const Header = ({ authData }) => {
const { session, status } = authData;
return (
<>
<h1>Name: {session?.user?.name}</h1>
<h1>Status: {status}</h1>
<h1>Token: {session?.ta_token?.token}</h1>
<h1>User ID: {session?.ta_token?.user_id}</h1>
</>
);
};
export default Header;