From e45ef3a9e9092bf32b4bedfa790a276817b2b5cf Mon Sep 17 00:00:00 2001 From: daryl Date: Sat, 7 Oct 2023 11:16:42 +0800 Subject: [PATCH] feat(typeId): use the same style as code hash --- src/pages/Script/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Script/index.tsx b/src/pages/Script/index.tsx index e566348a6..f3a179da1 100644 --- a/src/pages/Script/index.tsx +++ b/src/pages/Script/index.tsx @@ -58,7 +58,7 @@ const getScriptInfo = (scriptInfo: ScriptInfo) => { }, { title: i18n.t('scripts.type_id'), - content: {id || '-'}, + content: id ? : '-', }, { title: i18n.t('scripts.code_hash'),