diff options
Diffstat (limited to 'vnext/src/components/Avatar.js')
-rw-r--r-- | vnext/src/components/Avatar.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/components/Avatar.js b/vnext/src/components/Avatar.js index c42a048a..dfa197c1 100644 --- a/vnext/src/components/Avatar.js +++ b/vnext/src/components/Avatar.js @@ -9,7 +9,7 @@ const Avatar = React.memo(props => { <div style={{ display: 'flex' }}> <div className="msg-avatar"> <Link to={{ pathname: props.link || `/${props.user.uname}/` }}> - <img src={`//i.juick.com/a/${props.user.uid}.png`} alt={`${props.user.uname}`} /> + <img src={props.user.avatar} alt={`${props.user.uname}`} /> </Link> </div> <div style={{ display: 'flex', flexDirection: 'column' }}> @@ -29,7 +29,7 @@ export default Avatar; export const AvatarLink = React.memo(props => { return ( <Link to={{ pathname: props.link || `/${props.user.uname}/` }}> - <img src={`//i.juick.com/a/${props.user.uid}.png`} alt={`${props.user.uname}`} /> + <img src={props.user.avatar} alt={`${props.user.uname}`} /> {props.user.uname} </Link> ); |