From d7f3aa4a7c39f650a478d58746a936eeab364823 Mon Sep 17 00:00:00 2001 From: Richard Liang Date: Tue, 7 Jan 2025 22:09:05 -0500 Subject: [PATCH] add revolut maintenance --- client/src/components/Swap/index.tsx | 3 ++- client/src/helpers/strings/common.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/components/Swap/index.tsx b/client/src/components/Swap/index.tsx index f59cbd462..7e92c1001 100644 --- a/client/src/components/Swap/index.tsx +++ b/client/src/components/Swap/index.tsx @@ -328,7 +328,8 @@ const SwapForm: React.FC = ({ const isValidRecipientAddress = isValidAddress(recipientAddress); if (isValidRecipientAddress) { const isVenmoMaintenance = paymentPlatform === PaymentPlatform.VENMO; - if (isVenmoMaintenance) { + const isRevolutMaintenance = paymentPlatform === PaymentPlatform.REVOLUT; + if (isVenmoMaintenance || isRevolutMaintenance) { setQuoteState(QuoteState.MAINTENANCE); } else { setQuoteState(QuoteState.SUCCESS); diff --git a/client/src/helpers/strings/common.ts b/client/src/helpers/strings/common.ts index 82f31cede..3f564259e 100644 --- a/client/src/helpers/strings/common.ts +++ b/client/src/helpers/strings/common.ts @@ -93,7 +93,7 @@ const strings: CommonStrings = { You are currently viewing the staging application `, PRODUCTION_ENV_BANNER: ` - Venmo onramping is currently under maintenance | ZKP2P's Alpha Launch — + Venmo and Revolut onramping is currently under maintenance | ZKP2P's Alpha Launch — `, // Registration NFT Tooltip