From 15598f2a23d936d3c468a1b8849ec3baaccee4cd Mon Sep 17 00:00:00 2001 From: Nidhi Kumari Date: Tue, 23 May 2023 22:54:17 +0530 Subject: [PATCH] UX Multichain: updated border top for activity list (#19176) * updated border top for activity list * updated border css via prop * fixed symbol * fixed lint errors * fix conditions * updated snapshot --- .../app/token-cell/__snapshots__/token-cell.test.js.snap | 2 +- .../transaction-list-item/transaction-list-item.component.js | 2 ++ .../list-item/__snapshots__/list-item.component.test.js.snap | 4 ++-- ui/components/ui/list-item/index.scss | 5 ++++- ui/components/ui/list-item/list-item.component.js | 5 +++++ 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/ui/components/app/token-cell/__snapshots__/token-cell.test.js.snap b/ui/components/app/token-cell/__snapshots__/token-cell.test.js.snap index 4d77ea5ee..ab99b1f5f 100644 --- a/ui/components/app/token-cell/__snapshots__/token-cell.test.js.snap +++ b/ui/components/app/token-cell/__snapshots__/token-cell.test.js.snap @@ -3,7 +3,7 @@ exports[`Token Cell should match snapshot 1`] = `
diff --git a/ui/components/app/transaction-list-item/transaction-list-item.component.js b/ui/components/app/transaction-list-item/transaction-list-item.component.js index dc99a7eac..f412e7fbc 100644 --- a/ui/components/app/transaction-list-item/transaction-list-item.component.js +++ b/ui/components/app/transaction-list-item/transaction-list-item.component.js @@ -168,6 +168,7 @@ function TransactionListItemInner({ ]); const showCancelButton = !hasCancelled && isPending && !isUnapproved; + const showBorder = process.env.MULTICHAIN; return ( <> @@ -178,6 +179,7 @@ function TransactionListItemInner({ icon={ } + showBorder={showBorder} subtitle={

@@ -21,7 +21,7 @@ exports[`ListItem should match snapshot with no props 1`] = ` exports[`ListItem should match snapshot with props 1`] = `