+
+
+ {anchorIdl && (
+ -
+
+
+ )}
+ {metadataIdl && (
+ -
+
+
+ )}
+
+
+
+ {activeTab === 'anchor' && anchorIdl && (
+
+ )}
+ {activeTab === 'metadata' && metadataIdl && (
+
+ )}
+
+
);
}
diff --git a/app/address/[address]/layout.tsx b/app/address/[address]/layout.tsx
index 64477682..9e2927dc 100644
--- a/app/address/[address]/layout.tsx
+++ b/app/address/[address]/layout.tsx
@@ -560,7 +560,6 @@ export type MoreTabs =
| 'attributes'
| 'domains'
| 'security'
- | 'anchor-program'
| 'program-metadata'
| 'idl'
| 'anchor-account'
@@ -723,20 +722,6 @@ function getCustomLinkedTabs(pubkey: PublicKey, account: Account) {
tab: programMultisigTab,
});
- const anchorProgramTab: Tab = {
- path: 'anchor-program',
- slug: 'anchor-program',
- title: 'Anchor Program IDL',
- };
- tabComponents.push({
- component: (
-