Skip to content

Commit

Permalink
fix: minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dyersituations committed Feb 7, 2024
1 parent b1a9600 commit 3a97d83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Iwd/IwdThanksPageVariations.vue
Original file line number Diff line number Diff line change
Expand Up @@ -305,10 +305,12 @@ export default {
if (this.lender?.public && this.lender?.inviterName) return this.lender?.inviterName;
return 'anonymous';
},
// Expected by social-sharing-mixin (used by all socials)
shareLink() {
const base = `https://${this.$appConfig.host}`;
return getFullUrl(`${base}/iwd2024${this.lenderPublicId ? `/${this.lenderPublicId}` : ''}`);
},
// Expected by social-sharing-mixin (used by X/Twitter and "copy link")
shareMessage() {
return `Kiva is an easy way to make a real difference in someone's life.${
this.iwdBorrowerName && this.iwdBorrowerLocation
Expand Down

0 comments on commit 3a97d83

Please sign in to comment.