Skip to content

Commit

Permalink
Merge pull request Girl-Code-It#246 from vaishali614/vaishali-fix
Browse files Browse the repository at this point in the history
Card image made dynamic
  • Loading branch information
vaishali614 authored May 8, 2021
2 parents 39098c6 + c7b415f commit 50a4788
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Components/ViewOpportunity/OpportunityCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export function OpportunityCard(props) {
opportunityDate,
opportunityTitle,
opportunityOrganisation,
organisationLogoURL,
opportunityURL } = props.item;

const changeDateFormat = (timestamp) => {
Expand All @@ -28,8 +29,7 @@ export function OpportunityCard(props) {
<Col>
<Row className={styles.headingContainer}>
<Image
src={logo}
// src = {item.imgURL}
src = {organisationLogoURL}
alt={opportunityTitle}
className={styles.CardImage}
roundedCircle
Expand Down

0 comments on commit 50a4788

Please sign in to comment.