Skip to content

Commit 001b890

Browse files
committed
fix: minimize diff
1 parent 2a21c8b commit 001b890

1 file changed

Lines changed: 28 additions & 28 deletions

File tree

app/address/[address]/layout.tsx

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -61,34 +61,6 @@ import {
6161
} from '@/app/utils/token-info';
6262
import { pickClusterParams } from '@/app/utils/url';
6363

64-
export type AddressTabPath =
65-
| ''
66-
| 'anchor-account'
67-
| 'attestation'
68-
| 'attributes'
69-
| 'blockhashes'
70-
| 'compression'
71-
| 'concurrent-merkle-tree'
72-
| 'domains'
73-
| 'entries'
74-
| 'feature-gate'
75-
| 'idl'
76-
| 'instructions'
77-
| 'metadata'
78-
| 'nftoken-collection-nfts'
79-
| 'program-multisig'
80-
| 'rewards'
81-
| 'security'
82-
| 'slot-hashes'
83-
| 'stake-history'
84-
| 'token-extensions'
85-
| 'tokens'
86-
| 'transfers'
87-
| 'verified-build'
88-
| 'vote-history';
89-
90-
type AddressTab = NavigationTab<AddressTabPath>;
91-
9264
const TABS_LOOKUP: Record<string, AddressTab[]> = {
9365
'address-lookup-table': [{ path: 'entries', title: 'Table Entries' }],
9466
attestation: [{ path: 'attestation', title: 'Attestation Service' }],
@@ -125,6 +97,34 @@ const TABS_LOOKUP: Record<string, AddressTab[]> = {
12597

12698
const TOKEN_TABS_HIDDEN = ['spl-token:mint', 'spl-token-2022:mint', 'config', 'vote', 'sysvar'];
12799

100+
export type AddressTabPath =
101+
| ''
102+
| 'anchor-account'
103+
| 'attestation'
104+
| 'attributes'
105+
| 'blockhashes'
106+
| 'compression'
107+
| 'concurrent-merkle-tree'
108+
| 'domains'
109+
| 'entries'
110+
| 'feature-gate'
111+
| 'idl'
112+
| 'instructions'
113+
| 'metadata'
114+
| 'nftoken-collection-nfts'
115+
| 'program-multisig'
116+
| 'rewards'
117+
| 'security'
118+
| 'slot-hashes'
119+
| 'stake-history'
120+
| 'token-extensions'
121+
| 'tokens'
122+
| 'transfers'
123+
| 'verified-build'
124+
| 'vote-history';
125+
126+
type AddressTab = NavigationTab<AddressTabPath>;
127+
128128
type Props = PropsWithChildren<{ params: { address: string } }>;
129129

130130
function AddressLayoutInner({ children, params: { address } }: Props) {

0 commit comments

Comments
 (0)