fix: clean up donate-saga error (#45435)
* fix: clean donate-saga error Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>pull/45444/head
parent
10efb79643
commit
7b9bc8bb99
|
@ -315,6 +315,7 @@
|
|||
"additional": "You can make an additional one-time donation of any amount using this link: <0>{{url}}</0>",
|
||||
"help-more": "Help us do more",
|
||||
"error": "Something went wrong with your donation.",
|
||||
"error-2": "Something is not right. Please contact donors@freecodecamp.org",
|
||||
"free-tech": "Your donations will support free technology education for people all over the world.",
|
||||
"no-halo": "If you don't see a gold halo around your profile picture, contact donors@freecodecamp.org.",
|
||||
"gift-frequency": "Select gift frequency:",
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue