Commit e73e1540 authored by Jordan Frankfurt's avatar Jordan Frankfurt Committed by GitHub

fix: errors are responsible for their own grammar (#6490)

parent 3a82642f
...@@ -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)
return t`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.` return t`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.`
} }
return t`${reason ? reason : 'Unknown error'}. Try increasing your slippage tolerance. return t`${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.`
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment