mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +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
9fa099f5fc
commit
f8f1abf53c
@ -126,6 +126,7 @@ export default function ConfirmTokenTransactionBase({
|
||||
assetName || `${getTitleTokenDescription('text')} #${tokenId}`;
|
||||
} else if (assetStandard === TokenStandard.ERC20) {
|
||||
title = `${tokenAmount} ${tokenSymbol}`;
|
||||
subtotalDisplay = `${tokenAmount} ${tokenSymbol}`;
|
||||
}
|
||||
|
||||
const hexWeiValue = useMemo(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user