Skip to content

Commit

Permalink
add revolut maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
richardliang committed Jan 8, 2025
1 parent 57869a3 commit d7f3aa4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion client/src/components/Swap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,8 @@ const SwapForm: React.FC<SwapFormProps> = ({
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);
Expand Down
2 changes: 1 addition & 1 deletion client/src/helpers/strings/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7f3aa4

Please sign in to comment.