mirror of
https://github.com/myfatemi04/wheelshare-frontend.git
synced 2025-04-09 22:00:16 -04:00
add email to header
This commit is contained in:
parent
1fbea6c999
commit
a5e781daf6
1
.env
1
.env
|
@ -1,2 +1,3 @@
|
||||||
REACT_APP_API_LOCAL=http://localhost:5000/
|
REACT_APP_API_LOCAL=http://localhost:5000/
|
||||||
REACT_APP_API_PROD=https://api.wheelshare.app/
|
REACT_APP_API_PROD=https://api.wheelshare.app/
|
||||||
|
REACT_APP_API_LOCAL0=https://api.wheelshare.app/
|
||||||
|
|
|
@ -28,6 +28,7 @@ export default function Header() {
|
||||||
{me ? (
|
{me ? (
|
||||||
<>
|
<>
|
||||||
{me.name}
|
{me.name}
|
||||||
|
{me.email && ` (${me.email})`}
|
||||||
<UIPressable onClick={logout}>Log out</UIPressable>
|
<UIPressable onClick={logout}>Log out</UIPressable>
|
||||||
<br />
|
<br />
|
||||||
{notifications.length > 0 ? (
|
{notifications.length > 0 ? (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user