mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
fix/18577: Add title back for approving ERC20 token (#18617)
* fix/18577: Add title back for approving ERC20 token * Apply suggestions from code review Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> --------- Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
This commit is contained in:
parent
76d79d9cce
commit
66767d981c
@ -126,6 +126,7 @@ export default function ConfirmTokenTransactionBase({
|
|||||||
assetName || `${getTitleTokenDescription('text')} #${tokenId}`;
|
assetName || `${getTitleTokenDescription('text')} #${tokenId}`;
|
||||||
} else if (assetStandard === TokenStandard.ERC20) {
|
} else if (assetStandard === TokenStandard.ERC20) {
|
||||||
title = `${tokenAmount} ${tokenSymbol}`;
|
title = `${tokenAmount} ${tokenSymbol}`;
|
||||||
|
subtotalDisplay = `${tokenAmount} ${tokenSymbol}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
const hexWeiValue = useMemo(() => {
|
const hexWeiValue = useMemo(() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user