Skip to content

Commit

Permalink
maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
nambrot committed Nov 8, 2023
1 parent f7712bd commit 4bd1cbf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/features/transfer/TransferTokenForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,10 @@ function validateFormValues(
balances: AppState['balances'],
igpQuote: AppState['igpQuote'],
) {
return {
amount:
'Nexus is undergoing maintenance. Please try again later. If you have already sent funds, they will be processed as soon as possible.',
};
const { originCaip2Id, destinationCaip2Id, amount, tokenCaip19Id, recipientAddress } = values;
const route = getTokenRoute(originCaip2Id, destinationCaip2Id, tokenCaip19Id, tokenRoutes);
if (!route) return { destinationCaip2Id: 'No route found for chains/token' };
Expand Down

0 comments on commit 4bd1cbf

Please sign in to comment.