Skip to content

Commit

Permalink
fixup! feat(suite): add Destination tag into TxDetail
Browse files Browse the repository at this point in the history
  • Loading branch information
izmy committed Jan 28, 2025
1 parent 367c8ed commit 136d7c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
InfoItemProps,
Grid,
Divider,
Tooltip,
} from '@trezor/components';
import { Network } from '@suite-common/wallet-config';
import { getTxIcon, isPending, getFeeUnits, getFeeRate } from '@suite-common/wallet-utils';
Expand Down Expand Up @@ -181,17 +180,7 @@ export const BasicTxDetails = ({
)}

{tx.rippleSpecific && (
<Item
label={
<Tooltip
content={<Translation id="DESTINATION_TAG" />}
placement="bottom"
>
<Translation id="DESTINATION_TAG_SHORT" />
</Tooltip>
}
iconName="tag"
>
<Item label={<Translation id="DESTINATION_TAG_SHORT" />} iconName="tag">
{tx.rippleSpecific.destinationTag ?? '-'}
</Item>
)}
Expand Down
2 changes: 1 addition & 1 deletion packages/suite/src/support/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5463,7 +5463,7 @@ export default defineMessages({
id: 'DESTINATION_TAG',
},
DESTINATION_TAG_SHORT: {
defaultMessage: 'DT',
defaultMessage: 'Memo/Tag',
id: 'DESTINATION_TAG_SHORT',
},
DESTINATION_TAG_TOOLTIP: {
Expand Down

0 comments on commit 136d7c9

Please sign in to comment.