Skip to content

Commit

Permalink
fix: Correct image path in CodelabCard component
Browse files Browse the repository at this point in the history
  • Loading branch information
lokeshwar777 committed Jun 3, 2024
1 parent 965248e commit 050dc30
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/CodelabCard/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ const CardComponent = ({
className={classes.logoImg}
/>
<img
src={
require(`../../../assets/images/${profilePic}`).default
}
src={require(`../../assets/images/${profilePic}`).default}
alt=""
height="20rem"
width="20rem"
Expand All @@ -65,7 +63,7 @@ const CardComponent = ({
</Grid>
) : (
<img
src={require(`../../../assets/images/${profilePic}`).default}
src={require(`../../assets/images//${profilePic}`).default}
alt=""
className={classes.avatar}
/>
Expand Down

0 comments on commit 050dc30

Please sign in to comment.