Skip to content

Commit

Permalink
Add: show the organization name in the consultation card in ActivityH…
Browse files Browse the repository at this point in the history
…istory
  • Loading branch information
georgipavlov-7DIGIT committed Sep 18, 2024
1 parent 9252614 commit 1dd56d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/blocks/ActivityHistory/ActivityHistory.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ export const ActivityHistory = ({
renderIn="provider"
onClick={() => handleConsultationClick(consultation)}
couponPrice={consultation.couponPrice}
organizationName={consultation.organizationName}
sponsorImage={consultation.sponsorImage}
t={t}
/>
Expand Down
1 change: 1 addition & 0 deletions src/hooks/useGetAllPastConsultations.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default function useGetAllPastConsultations() {
campaignId: consultation.campaign_id,
couponPrice: consultation.coupon_price,
sponsorImage: consultation.sponsor_image,
organizationName: consultation.organization_name,
}));
};

Expand Down

0 comments on commit 1dd56d2

Please sign in to comment.