From f5b212ded9beff8574dd1f361125c0126b503c3b Mon Sep 17 00:00:00 2001 From: Nam Nguyen Date: Wed, 30 Aug 2023 15:06:51 +0700 Subject: [PATCH] debug/krystal --- .../TransactionConfirmationModal/index.tsx | 28 +++++++++---------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/src/components/TransactionConfirmationModal/index.tsx b/src/components/TransactionConfirmationModal/index.tsx index 5b3a9aad75..0f0176ea31 100644 --- a/src/components/TransactionConfirmationModal/index.tsx +++ b/src/components/TransactionConfirmationModal/index.tsx @@ -282,21 +282,19 @@ export function TransactionErrorContent({ > {friendlyError(message)} - {message !== friendlyError(message) && ( - - setShowDetail(prev => !prev)} - > - {showDetail ? 'Show less' : 'Show more details'} - - {showDetail && ( - {typeof message === 'string' ? message : JSON.stringify(message)} - )} - - )} + {/* {message !== friendlyError(message) && ( */} + + setShowDetail(prev => !prev)} + > + {showDetail ? 'Show less' : 'Show more details'} + + {showDetail && {typeof message === 'string' ? message : JSON.stringify(message)}} + + {/* )} */}