Skip to content

Commit 0a4b9c9

Browse files
committed
feat: make CreateDetailsCard similar
1 parent 70faa6a commit 0a4b9c9

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

app/components/inspector/associated-token/CreateDetailsCard.tsx

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -40,44 +40,22 @@ export function CreateDetailsCard({
4040
<Address pubkey={ix.programId} alignRight link />
4141
</td>
4242
</tr>
43-
<tr>
44-
<td>Source</td>
45-
<td className="text-lg-end">
46-
<AddressTableLookupAddress accountIndex={raw.accountKeyIndexes[0]} message={message} hideInfo />
47-
</td>
48-
</tr>
4943
<tr>
5044
<td>Account</td>
5145
<td className="text-lg-end">
5246
<AddressTableLookupAddress accountIndex={raw.accountKeyIndexes[1]} message={message} hideInfo />
5347
</td>
5448
</tr>
55-
56-
<tr>
57-
<td>Wallet</td>
58-
<td className="text-lg-end">
59-
<AddressTableLookupAddress accountIndex={raw.accountKeyIndexes[2]} message={message} hideInfo />
60-
</td>
61-
</tr>
62-
6349
<tr>
6450
<td>Mint</td>
6551
<td className="text-lg-end">
6652
<AddressTableLookupAddress accountIndex={raw.accountKeyIndexes[3]} message={message} hideInfo />
6753
</td>
6854
</tr>
69-
70-
<tr>
71-
<td>System Program</td>
72-
<td className="text-lg-end">
73-
<AddressTableLookupAddress accountIndex={raw.accountKeyIndexes[4]} message={message} hideInfo />
74-
</td>
75-
</tr>
76-
7755
<tr>
78-
<td>Token Program</td>
56+
<td>Wallet</td>
7957
<td className="text-lg-end">
80-
<AddressTableLookupAddress accountIndex={raw.accountKeyIndexes[5]} message={message} hideInfo />
58+
<AddressTableLookupAddress accountIndex={raw.accountKeyIndexes[2]} message={message} hideInfo />
8159
</td>
8260
</tr>
8361
</InstructionCardComponent>

0 commit comments

Comments
 (0)