From c2cf0b586b49816f9a03624e4697c76c9dac0819 Mon Sep 17 00:00:00 2001 From: Lim Jet <57783762+daoauth@users.noreply.github.com> Date: Sun, 5 Jan 2025 00:21:15 +0900 Subject: [PATCH] Update TransactionData.tsx --- .../transaction-result/TransactionData.tsx | 89 ++++++++++--------- 1 file changed, 48 insertions(+), 41 deletions(-) diff --git a/src/explorer/src/pages/transaction-result/TransactionData.tsx b/src/explorer/src/pages/transaction-result/TransactionData.tsx index 4b6b867..cc2a1d7 100644 --- a/src/explorer/src/pages/transaction-result/TransactionData.tsx +++ b/src/explorer/src/pages/transaction-result/TransactionData.tsx @@ -47,46 +47,53 @@ export function TransactionData({ transaction }: Props) { return (
- - - Data - {isProgrammableTransaction && network && transaction.digest && PTB Builder} - - -
- -
- -
-
- -
-
- -
-
-
- -
- - enqueueSnackbar(message, options) - } - /> -
-
-
-
+ + + Data + {isProgrammableTransaction && + network && + network !== "LOCAL" && + transaction.digest && ( + PTB Builder + )} + + +
+ +
+ +
+
+ +
+
+ +
+
+
+ + {network !== "LOCAL" && ( +
+ + enqueueSnackbar(message, options) + } + /> +
+ )} +
+
+ ); }