explorer: prevent raw details from showing on inner instructions (#13951)
This commit is contained in:
parent
4e8565253c
commit
f2b31c3a89
|
@ -39,7 +39,7 @@ export function InstructionCard({
|
|||
const signature = useContext(SignatureContext);
|
||||
const details = useTransactionDetails(signature);
|
||||
let raw: TransactionInstruction | undefined = undefined;
|
||||
if (details) {
|
||||
if (details && childIndex === undefined) {
|
||||
raw = details?.data?.raw?.transaction.instructions[index];
|
||||
}
|
||||
const fetchRaw = useFetchRawTransaction();
|
||||
|
|
Loading…
Reference in New Issue