diff --git a/src/app/atoms/avatar/Avatar.jsx b/src/app/atoms/avatar/Avatar.jsx index e5ce53c..891637c 100644 --- a/src/app/atoms/avatar/Avatar.jsx +++ b/src/app/atoms/avatar/Avatar.jsx @@ -21,7 +21,15 @@ function Avatar({
{ imageSrc !== null - ? { e.target.src = ImageBrokenSVG; }} alt="avatar" /> + ? ( + { e.target.style.backgroundColor = 'transparent'; }} + onError={(e) => { e.target.src = ImageBrokenSVG; }} + alt="" + /> + ) : (