Просмотр исходного кода

changed default image for the user

master
kj1352 4 лет назад
Родитель
Сommit
b65fbe8c33
2 измененных файлов: 2 добавлений и 1 удалений
  1. +1
    -0
      src/components/home/Home.module.scss
  2. +1
    -1
      src/components/home/Home.tsx

+ 1
- 0
src/components/home/Home.module.scss Просмотреть файл

@@ -39,6 +39,7 @@
object-position: center;
display: block;
transform: scale(0.8);
background-color: white;
}
svg {


+ 1
- 1
src/components/home/Home.tsx Просмотреть файл

@@ -41,7 +41,7 @@ export const Home: React.FC = () => {
}}
} />
{/* eslint-disable-next-line */}
<img src={userProfileData.image} alt="profile-image" />
<img src="https://www.lakecountyin.org/images/user-icon-placeholder.png" alt="profile-image" />
{ userProfileData.medal.icon }
</div>
<div className={styles.userDetails}>


Загрузка…
Отмена
Сохранить