feat: add paypal donation to modals and certificates
This commit is contained in:
committed by
mrugesh
parent
c30f0dbf0d
commit
585527d145
@@ -181,6 +181,12 @@ export const shouldRequestDonationSelector = state => {
|
||||
const isDonating = isDonatingSelector(state);
|
||||
const canRequestBlockDonation = canRequestBlockDonationSelector(state);
|
||||
|
||||
const debugModal = localStorage.getItem('DEBUG_DONATE_MODAL', false);
|
||||
console.log(debugModal);
|
||||
if (debugModal === 'yes-please') {
|
||||
return true;
|
||||
}
|
||||
|
||||
// don't request donation if already donating
|
||||
if (isDonating) return false;
|
||||
|
||||
|
Reference in New Issue
Block a user