Skip to content

Commit

Permalink
Merge pull request #33 from bryanmontalvan/profile-email
Browse files Browse the repository at this point in the history
Display email on /profile
  • Loading branch information
KyleGaudet authored Mar 28, 2023
2 parents 967de42 + a662363 commit 3a17b3d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/pages/Profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ import {
Button,
useColorModeValue,
} from '@chakra-ui/react';
import { UserAuth } from "../context/AuthContext";


export default function Explore() {

const { user } = UserAuth();

return (
<div>
<Background />
Expand Down Expand Up @@ -60,7 +65,7 @@ export default function Explore() {
</ListItem>
<ListItem>

Email: display here
Email: {user.email}
<Button>Edit</Button>
</ListItem>
</List>
Expand Down

1 comment on commit 3a17b3d

@vercel
Copy link

@vercel vercel bot commented on 3a17b3d Mar 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.