diff options
Diffstat (limited to 'src/PollCard/PollCard.tsx')
-rw-r--r-- | src/PollCard/PollCard.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/PollCard/PollCard.tsx b/src/PollCard/PollCard.tsx index 588714a..2a51840 100644 --- a/src/PollCard/PollCard.tsx +++ b/src/PollCard/PollCard.tsx @@ -71,9 +71,7 @@ const PollCard: React.FC<PropTypes> = ({ poll }) => { <Card className={classes.root}> <CardHeader avatar={( - <Avatar aria-label="avatar"> - <img src={author.avatarUrl} alt={author.name[0].toUpperCase()} /> - </Avatar> + <Avatar aria-label="avatar" src={author.avatarUrl} alt={author.name[0].toUpperCase()}/> )} title={author.name} /> |