Skip to content

Commit 605ff96

Browse files
committed
fix some more references to amount donated
1 parent b6e41a6 commit 605ff96

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/theme/BackerBanner/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ import styles from './banner.module.scss';
88
const sponsorsURL = 'https://serve.onegraph.com/graphql?app_id=c8251aa1-22ab-4dca-9e57-e7c335ddcd7c';
99

1010
function between5And250(backer) {
11+
if (!backer.tier) {
12+
return false;
13+
}
14+
1115
const amount = backer.tier.amountDonated;
1216
if (amount >= 500 && amount < 25000) {
1317
return true;
@@ -68,7 +72,7 @@ async function getBackers() {
6872
key: href,
6973
src: avatarUrl,
7074
alt: usersName,
71-
title: monthlyAmount ? `Thank you ${usersName} for the $${monthlyAmount}/month!` : 'Thank you ${usersName} for the support!',
75+
title: monthlyAmount ? `Thank you ${usersName} for the $${monthlyAmount}/month!` : `Thank you ${usersName} for the support!`,
7276
href: href,
7377
};
7478
});

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy