@@ -69,7 +69,7 @@ export function swapErrorToUserReadableMessage(error: any): string {
...
@@ -69,7 +69,7 @@ export function swapErrorToUserReadableMessage(error: any): string {
console.error(error,reason)
console.error(error,reason)
returnt`An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3.`
returnt`An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3.`
}
}
returnt`${reason?reason:'Unknown error'}. Try increasing your slippage tolerance.
returnt`${reason?reason:'Unknown error.'} Try increasing your slippage tolerance.
Note: fee-on-transfer and rebase tokens are incompatible with Uniswap V3.`
Note: fee-on-transfer and rebase tokens are incompatible with Uniswap V3.`