From 1887c2a0f80a8e3cc884e4127e61f4c7bc8ee1ff Mon Sep 17 00:00:00 2001 From: Kirill Klimenko Date: Thu, 18 Jan 2024 13:14:59 +0100 Subject: [PATCH] Do not display View Safe button in SearchDisplay if found safe is current safe --- .../ui/menus/DAOSearch/SearchDisplay.tsx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/components/ui/menus/DAOSearch/SearchDisplay.tsx b/src/components/ui/menus/DAOSearch/SearchDisplay.tsx index e96189f8f9..cce35469b1 100644 --- a/src/components/ui/menus/DAOSearch/SearchDisplay.tsx +++ b/src/components/ui/menus/DAOSearch/SearchDisplay.tsx @@ -77,15 +77,14 @@ export function SearchDisplay({ - + {!isCurrentSafe && ( + + )} ); }