mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-24 23:49:06 +08:00
fix: clean up donate-saga error (#45435)
* fix: clean donate-saga error Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
co-authored by
Oliver Eyton-Williams
parent
10efb79643
commit
7b9bc8bb99
@@ -7,6 +7,7 @@ import {
|
||||
call,
|
||||
take
|
||||
} from 'redux-saga/effects';
|
||||
import i18next from 'i18next';
|
||||
import { fireConfetti } from '../utils/fire-confetti';
|
||||
|
||||
import {
|
||||
@@ -31,7 +32,7 @@ import {
|
||||
isAVariantSelector
|
||||
} from './';
|
||||
|
||||
const defaultDonationErrorMessage = `Something is not right. Please contact donors@freecodecamp.org`;
|
||||
const defaultDonationErrorMessage = i18next.t('donate.error-2');
|
||||
|
||||
function* showDonateModalSaga() {
|
||||
let shouldRequestDonation = yield select(shouldRequestDonationSelector);
|
||||
|
||||
Reference in New Issue
Block a user