aboutsummaryrefslogtreecommitdiff
path: root/src/pages/ProfilePage/ProfileInfo.tsx
diff options
context:
space:
mode:
authorEugene Sokolov <eug-vs@keemail.me>2020-06-25 14:41:14 +0300
committerGitHub <noreply@github.com>2020-06-25 14:41:14 +0300
commit9dfc98d5014f91afb45ad4eebbe9f0f704ddfdf5 (patch)
treeb5a47cce16b224dd74625db72f721e5e797a1611 /src/pages/ProfilePage/ProfileInfo.tsx
parent190916329611704b1035158363302f09152794ee (diff)
parenta3afe917442fb29627aa9deade1baefbea9a60c5 (diff)
downloadwhich-ui-9dfc98d5014f91afb45ad4eebbe9f0f704ddfdf5.tar.gz
Merge pull request #41 from which-ecosystem/votes
Votes
Diffstat (limited to 'src/pages/ProfilePage/ProfileInfo.tsx')
-rw-r--r--src/pages/ProfilePage/ProfileInfo.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/ProfilePage/ProfileInfo.tsx b/src/pages/ProfilePage/ProfileInfo.tsx
index bddecd8..7208ec8 100644
--- a/src/pages/ProfilePage/ProfileInfo.tsx
+++ b/src/pages/ProfilePage/ProfileInfo.tsx
@@ -2,7 +2,7 @@ import React from 'react';
import { Avatar } from '@material-ui/core/';
import { makeStyles } from '@material-ui/core/styles';
import Button from '@material-ui/core/Button/Button';
-import { User } from '../../types';
+import { User } from 'which-types';
interface PropTypes {
user: User | undefined;
@@ -41,7 +41,7 @@ const ProfileInfo: React.FC<PropTypes> = ({ user, logOut }) => {
<div>
<Avatar className={classes.avatar} src={user?.avatarUrl} />
<div className={classes.name}>
- {user?.name}
+ {user?.username}
</div>
<div className={classes.profileMenu}>
<div style={{ borderBottom: '1px solid green', color: 'green' }} className={classes.menuButton}>