diff --git a/.changeset/pink-rabbits-fry.md b/.changeset/pink-rabbits-fry.md new file mode 100644 index 0000000000..fa494fbc82 --- /dev/null +++ b/.changeset/pink-rabbits-fry.md @@ -0,0 +1,5 @@ +--- +'minifront': minor +--- + +transaction view ui fixes diff --git a/apps/minifront/src/components/tx-details/tx-viewer.tsx b/apps/minifront/src/components/tx-details/tx-viewer.tsx index 6c0e7990d3..39ff156b84 100644 --- a/apps/minifront/src/components/tx-details/tx-viewer.tsx +++ b/apps/minifront/src/components/tx-details/tx-viewer.tsx @@ -18,14 +18,14 @@ import { penumbra } from '../../penumbra'; export enum TxDetailsTab { PUBLIC = 'public', - PRIVATE = 'private', RECEIVER = 'receiver', + PRIVATE = 'private', } const OPTIONS = [ { label: 'Your View', value: TxDetailsTab.PRIVATE }, - { label: 'Public View', value: TxDetailsTab.PUBLIC }, { label: 'Receiver View', value: TxDetailsTab.RECEIVER }, + { label: 'Public View', value: TxDetailsTab.PUBLIC }, ]; const getMetadata: MetadataFetchFn = async ({ assetId }) => { @@ -84,7 +84,7 @@ export const TxViewer = ({ txInfo }: { txInfo?: TransactionInfo }) => { <>
- {/* eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- TODO: justify not using '?' operator */} + {/* eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- field is always populated when the component is rendered */} - + {memoView.value.plaintext?.text}