From f4ceaf2bd62994095a1de4a0cd46b873fe7bf02f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Podsiad=C5=82y?= Date: Fri, 9 Feb 2024 10:44:58 +0100 Subject: [PATCH] chore: remove `hidden` sn prop leftovers --- packages/frontend/src/api/merge.ts | 1 - packages/frontend/src/api/transform.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/packages/frontend/src/api/merge.ts b/packages/frontend/src/api/merge.ts index ac41e11..08185a7 100644 --- a/packages/frontend/src/api/merge.ts +++ b/packages/frontend/src/api/merge.ts @@ -25,6 +25,5 @@ function createEmptyNodes(nodes: SimpleNode[]): SimpleNode[] { name: 'Unknown', fields: [], discovered: false, - hidden: false, })) } diff --git a/packages/frontend/src/api/transform.ts b/packages/frontend/src/api/transform.ts index b34af66..1419de3 100644 --- a/packages/frontend/src/api/transform.ts +++ b/packages/frontend/src/api/transform.ts @@ -16,7 +16,6 @@ export function transformContracts(discovery: DiscoveryOutput): SimpleNode[] { id: contract.address.toString(), name: emojifyContractName(contract), discovered: true, - hidden: false, fields: [...proxyFields, ...mapFields(contract.values)].filter( (x) => !x.connection || !implementations.includes(x.connection), ), @@ -29,7 +28,6 @@ export function transformContracts(discovery: DiscoveryOutput): SimpleNode[] { id: address.toString(), name: `🧍 EOA ${address.toString()}`, discovered: true, - hidden: false, fields: [], data: { address: address.toString(),