From 4745052f0e1a9b8db361fd8b0349983869c72642 Mon Sep 17 00:00:00 2001 From: Moody Salem Date: Fri, 14 May 2021 10:50:55 -0500 Subject: [PATCH] fix: break words in swap error messages (fixes https://github.com/Uniswap/uniswap-interface/issues/1462) --- src/components/TransactionConfirmationModal/index.tsx | 7 ++++++- src/components/swap/styleds.tsx | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/TransactionConfirmationModal/index.tsx b/src/components/TransactionConfirmationModal/index.tsx index 7817c5755f..7613945577 100644 --- a/src/components/TransactionConfirmationModal/index.tsx +++ b/src/components/TransactionConfirmationModal/index.tsx @@ -184,7 +184,12 @@ export function TransactionErrorContent({ message, onDismiss }: { message: strin - + {message} diff --git a/src/components/swap/styleds.tsx b/src/components/swap/styleds.tsx index 92a447b3c6..a92e46ccc3 100644 --- a/src/components/swap/styleds.tsx +++ b/src/components/swap/styleds.tsx @@ -171,7 +171,7 @@ export function SwapCallbackError({ error }: { error: string }) { -

{error}

+

{error}

) }