From ebe9c468e39ab6fa7de165e525d07908333376df Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra Date: Fri, 4 Oct 2019 19:56:46 +0530 Subject: [PATCH] fix: disable donation modal for now --- .../templates/Challenges/redux/current-challenge-saga.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/client/src/templates/Challenges/redux/current-challenge-saga.js b/client/src/templates/Challenges/redux/current-challenge-saga.js index 307ae7f0736..656c9a3c13c 100644 --- a/client/src/templates/Challenges/redux/current-challenge-saga.js +++ b/client/src/templates/Challenges/redux/current-challenge-saga.js @@ -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());