Donations: Introduce timeouts in early stages of the workflow

This commit is contained in:
Scott Nonnenberg 2025-07-31 07:15:59 +10:00 committed by GitHub
commit fd794ae90d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 198 additions and 109 deletions

View file

@ -40,6 +40,11 @@ export function DonationErrorModal(props: PropsType): JSX.Element {
body = i18n('icu:Donations__PaymentMethodDeclined__Description');
break;
}
case donationErrorTypeSchema.Enum.TimedOut: {
title = i18n('icu:Donations__TimedOut');
body = i18n('icu:Donations__TimedOut__Description');
break;
}
default:
throw missingCaseError(props.errorType);