Procházet zdrojové kódy

changed default image for the user

master
kj1352 před 4 roky
rodič
revize
b65fbe8c33
2 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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 Zobrazit soubor

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


+ 1
- 1
src/components/home/Home.tsx Zobrazit soubor

@@ -41,7 +41,7 @@ export const Home: React.FC = () => {
}} }}
} /> } />
{/* eslint-disable-next-line */} {/* 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 } { userProfileData.medal.icon }
</div> </div>
<div className={styles.userDetails}> <div className={styles.userDetails}>


Načítá se…
Zrušit
Uložit