File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ import styles from './banner.module.scss';
8
8
const sponsorsURL = 'https://serve.onegraph.com/graphql?app_id=c8251aa1-22ab-4dca-9e57-e7c335ddcd7c' ;
9
9
10
10
function between5And250 ( backer ) {
11
+ if ( ! backer . tier ) {
12
+ return false ;
13
+ }
14
+
11
15
const amount = backer . tier . amountDonated ;
12
16
if ( amount >= 500 && amount < 25000 ) {
13
17
return true ;
@@ -68,7 +72,7 @@ async function getBackers() {
68
72
key : href ,
69
73
src : avatarUrl ,
70
74
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!` ,
72
76
href : href ,
73
77
} ;
74
78
} ) ;
You can’t perform that action at this time.
0 commit comments