mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-12-22 18:00:17 +00:00
chore: header component
This commit is contained in:
parent
1e3087c245
commit
d880f95c44
14
tubearchivist/www/src/components/Header.tsx
Normal file
14
tubearchivist/www/src/components/Header.tsx
Normal 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;
|
Loading…
Reference in New Issue
Block a user