From 3c6b32eb25465355381a7f4f0c53f5b2f4fc3a63 Mon Sep 17 00:00:00 2001 From: Paul Puey Date: Sat, 20 Jan 2024 22:52:57 -0800 Subject: [PATCH] Do not show asset card while searching Also add animation for when it pops open --- src/components/scenes/TransactionListScene.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/scenes/TransactionListScene.tsx b/src/components/scenes/TransactionListScene.tsx index 31b93cdeb55..58692e72fb1 100644 --- a/src/components/scenes/TransactionListScene.tsx +++ b/src/components/scenes/TransactionListScene.tsx @@ -199,9 +199,11 @@ function TransactionListComponent(props: Props) { onSearchingChange={setIsSearching} onSearchTextChange={setSearchText} /> - {assetStatuses.length > 0 + {assetStatuses.length > 0 && !isSearching ? assetStatuses.map(assetStatus => ( - + + + )) : null}