From 7cb44b1095b38e2bbeebf2bb749ce23c2c370c5d Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 24 Feb 2021 13:01:10 -0800 Subject: [PATCH] feat: add program to vote and memo instruction card (#15523) --- explorer/src/components/instruction/MemoDetailsCard.tsx | 8 ++++++++ .../src/components/instruction/vote/VoteDetailsCard.tsx | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/explorer/src/components/instruction/MemoDetailsCard.tsx b/explorer/src/components/instruction/MemoDetailsCard.tsx index b44bf2d86b..4be2413800 100644 --- a/explorer/src/components/instruction/MemoDetailsCard.tsx +++ b/explorer/src/components/instruction/MemoDetailsCard.tsx @@ -2,6 +2,7 @@ import React from "react"; import { ParsedInstruction, SignatureResult } from "@solana/web3.js"; import { InstructionCard } from "./InstructionCard"; import { wrap } from "utils"; +import { Address } from "components/common/Address"; export function MemoDetailsCard({ ix, @@ -26,6 +27,13 @@ export function MemoDetailsCard({ innerCards={innerCards} childIndex={childIndex} > + + Program + +
+ + + Data (UTF-8) diff --git a/explorer/src/components/instruction/vote/VoteDetailsCard.tsx b/explorer/src/components/instruction/vote/VoteDetailsCard.tsx index cb0f49551f..3472a59959 100644 --- a/explorer/src/components/instruction/vote/VoteDetailsCard.tsx +++ b/explorer/src/components/instruction/vote/VoteDetailsCard.tsx @@ -27,6 +27,13 @@ export function VoteDetailsCard(props: { innerCards={innerCards} childIndex={childIndex} > + + Program + +
+ + + Vote Account