fix: disable donation modal for now

pull/37106/head
Mrugesh Mohapatra 2019-10-04 19:56:46 +05:30 committed by mrugesh
parent e5e5353ff1
commit ebe9c468e3
1 changed files with 7 additions and 0 deletions

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());