fix: disable donation modal for now

This commit is contained in:
Mrugesh Mohapatra
2019-10-04 19:56:46 +05:30
committed by mrugesh
parent e5e5353ff1
commit ebe9c468e3

View File

@ -44,6 +44,13 @@ function* updateSuccessMessageSaga() {
function* showDonateModalSaga() {
let { isDonating } = yield select(userSelector);
let shouldShowDonate = yield select(showDonationSelector);
/**
* We are disabling donation modals for now.
*/
shouldShowDonate = false;
/**
* We are disabling donation modals for now.
*/
if (!isDonating && shouldShowDonate) {
yield put(openDonationModal());
yield put(donationRequested());