diff --git a/src/components/Profile/Profile.jsx b/src/components/Profile/Profile.jsx index adc59bbe..61013fb5 100644 --- a/src/components/Profile/Profile.jsx +++ b/src/components/Profile/Profile.jsx @@ -9,10 +9,10 @@ function Profile({ data }) { function Card({ data }) { const cardRef = React.useRef(); - const [imageSrc, setImageSrc] = useState(data.avatar || defaultAvatar); - const handleImageError = () => { - setImageSrc(defaultAvatar); // Fallback to default image - }; + // const [imageSrc, setImageSrc] = useState(data.avatar); + // const handleImageError = () => { + // setImageSrc(defaultAvatar); // Fallback to default image + // }; const handleWheel = (event) => { event.stopPropagation(); @@ -36,7 +36,7 @@ function Card({ data }) {
- User logo + User logo