Showing
1 changed file
with
1 additions
and
4 deletions
... | @@ -16,12 +16,9 @@ const ProfileIcon = styled.img` | ... | @@ -16,12 +16,9 @@ const ProfileIcon = styled.img` |
16 | `; | 16 | `; |
17 | 17 | ||
18 | export default ({ avatar }) => { | 18 | export default ({ avatar }) => { |
19 | - if (avatar === "") { | ||
20 | - console.log("avatar link is empty"); | ||
21 | - } | ||
22 | return ( | 19 | return ( |
23 | <ProfileIconBox className="ProfileIconBox"> | 20 | <ProfileIconBox className="ProfileIconBox"> |
24 | - <ProfileIcon src={DefaultIcon} /> | 21 | + <ProfileIcon src={DefaultIcon} avatar={avatar} /> |
25 | </ProfileIconBox> | 22 | </ProfileIconBox> |
26 | ); | 23 | ); |
27 | }; | 24 | }; | ... | ... |
-
Please register or login to post a comment