From 639b38877826b9da3e175e1a7cd8a78501427622 Mon Sep 17 00:00:00 2001 From: isstuev Date: Mon, 7 Oct 2024 23:02:38 +0300 Subject: [PATCH] test --- ui/pages/Transaction.tsx | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/ui/pages/Transaction.tsx b/ui/pages/Transaction.tsx index 304bf36fab..f913522067 100644 --- a/ui/pages/Transaction.tsx +++ b/ui/pages/Transaction.tsx @@ -13,8 +13,8 @@ import TextAd from 'ui/shared/ad/TextAd'; import isCustomAppError from 'ui/shared/AppError/isCustomAppError'; import EntityTags from 'ui/shared/EntityTags/EntityTags'; import PageTitle from 'ui/shared/Page/PageTitle'; -import RoutedTabs from 'ui/shared/Tabs/RoutedTabs'; -import TabsSkeleton from 'ui/shared/Tabs/TabsSkeleton'; +// import RoutedTabs from 'ui/shared/Tabs/RoutedTabs'; +// import TabsSkeleton from 'ui/shared/Tabs/TabsSkeleton'; import useTabIndexFromQuery from 'ui/shared/Tabs/useTabIndexFromQuery'; import TxAssetFlows from 'ui/tx/TxAssetFlows'; import TxBlobs from 'ui/tx/TxBlobs'; @@ -97,18 +97,18 @@ const TransactionPageContent = (props: { apiData: Transaction | null }) => { const titleSecondRow = ; - const content = (() => { - if (isPlaceholderData && !showDegradedView) { - return ( - <> - - { tabs[tabIndex]?.component } - - ); - } + // const content = (() => { + // if (isPlaceholderData && !showDegradedView) { + // return ( + // <> + // + // { tabs[tabIndex]?.component } + // + // ); + // } - return ; - })(); + // return ; + // })(); if (isError && !showDegradedView) { if (isCustomAppError(error)) { @@ -125,7 +125,7 @@ const TransactionPageContent = (props: { apiData: Transaction | null }) => { contentAfter={ tags } secondRow={ titleSecondRow } /> - { content } + { tabs[tabIndex]?.component } ); };