From bb5d7ba622b894acc2d870051215f0c025cfcbe1 Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 2 Dec 2024 18:50:39 +1000 Subject: [PATCH] chore: Update error message --- .../modules/transfer/components/Button/TransferButton.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/canonical-bridge-widget/src/modules/transfer/components/Button/TransferButton.tsx b/packages/canonical-bridge-widget/src/modules/transfer/components/Button/TransferButton.tsx index 1c97469d..32a8a027 100644 --- a/packages/canonical-bridge-widget/src/modules/transfer/components/Button/TransferButton.tsx +++ b/packages/canonical-bridge-widget/src/modules/transfer/components/Button/TransferButton.tsx @@ -190,7 +190,7 @@ export function TransferButton({ isPegged: selectedToken.isPegged, tokenSymbol: selectedToken.symbol, toChainId: toChain?.id, - message: `Invalid cBridge token!!`, + message: `(Token Validation Failed) - Invalid cBridge token!!`, }); return; } @@ -243,7 +243,7 @@ export function TransferButton({ }); if (!isValidToken) { handleFailure({ - message: 'Invalid deBridge token!!', + message: '(Token Validation Failed) - Invalid deBridge token!!', fromChainId: fromChain?.id, tokenSymbol: selectedToken.symbol, tokenAddress: selectedToken.address as `0x${string}`, @@ -309,7 +309,7 @@ export function TransferButton({ }); if (!isValidToken) { handleFailure({ - messages: 'Invalid Stargate token!!', + messages: '(Token Validation Failed) - Invalid Stargate token!!', fromChainId: fromChain?.id, tokenAddress: selectedToken.address as `0x${string}`, bridgeAddress: transferActionInfo.bridgeAddress as `0x${string}`, @@ -379,7 +379,7 @@ export function TransferButton({ }); if (!isValidToken) { handleFailure({ - message: 'Invalid Meson token!!', + message: '(Token Validation Failed) Invalid Meson token!!', fromChainId: fromChain?.id, tokenAddress: selectedToken.address as `0x${string}`, bridgeAddress: transferActionInfo.bridgeAddress as `0x${string}`,