Skip to content

Commit

Permalink
feat: add memo to preview
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Sep 25, 2020
1 parent 08599a8 commit 233bae5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/modals/transaction/transaction-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,9 @@ export const TransactionModal: FC<TxModalProps> = ({ balance, address }) => {
<TxModalPreviewItem label="Total">
{toHumanReadableStx(total.toString())}
</TxModalPreviewItem>
{form.values.memo && (
<TxModalPreviewItem label="Memo">{form.values.memo}</TxModalPreviewItem>
)}
<Box minHeight="24px">
{totalIsMoreThanBalance && (
<ErrorLabel size="md" my="base-loose">
Expand Down

0 comments on commit 233bae5

Please sign in to comment.