瀏覽代碼

changed default image for the user

master
kj1352 4 年之前
父節點
當前提交
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}>


Loading…
取消
儲存