Skip to content

Commit

Permalink
Temporarily remove "hasLink" for external Avatars
Browse files Browse the repository at this point in the history
  • Loading branch information
MrOrz committed Jan 20, 2021
1 parent 4485745 commit 54f3b2a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion components/ArticleReply/ArticleReply.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,10 @@ const ArticleReply = React.memo(
return (
<>
<Box component="header" display="flex" alignItems="center">
<Avatar user={articleReply.user} className={classes.avatar} hasLink />
<Avatar
user={articleReply.user}
className={classes.avatar} /*hasLink*/
/>
<Box flexGrow={1}>
<ArticleReplySummary articleReply={articleReply} />
<ReplyInfo reply={reply} articleReplyCreatedAt={createdAt} />
Expand Down
2 changes: 1 addition & 1 deletion components/ArticleReplyFeedbackControl/Feedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function Feedback({ feedback }) {

return (
<div className={classes.root}>
<Avatar user={feedback.user} size={48} hasLink />
<Avatar user={feedback.user} size={48} /*hasLink*/ />
<Box px={2}>
<div className={classes.name}>{feedback.user?.name}</div>
<div>{feedback.comment}</div>
Expand Down
6 changes: 5 additions & 1 deletion components/ProfilePage/RepliedArticleTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@ function ArticleReply({ articleReply }) {
style={{ gap: '16px' }}
>
{user && (
<Avatar size={40} user={user} className={classes.avatar} hasLink />
<Avatar
size={40}
user={user}
className={classes.avatar} /*hasLink*/
/>
)}
<Box flexGrow={1}>
<ArticleReplySummary articleReply={articleReply} />
Expand Down

0 comments on commit 54f3b2a

Please sign in to comment.