Skip to content

Commit

Permalink
changed to email
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiialives committed Oct 31, 2023
1 parent 5d86358 commit 7e2c7cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/UserMenu/UserMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const UserMenu = () => {
const user = useSelector(selectUser)
return (
<div className={css.div}>
<p className={css.title}>Welcome, {user.name}</p>
<p className={css.title}>Welcome, {user.email}</p>
<button className={css.but} type="submit" onClick={() => dispatch(logOut())}>Logout</button>
</div>
);
Expand Down

0 comments on commit 7e2c7cb

Please sign in to comment.