mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
5 lines
205 B
JavaScript
5 lines
205 B
JavaScript
// TODO: Rename to reflect that this function is used for more cases than ETH, and update all uses.
|
|
export function formatETHFee(ethFee, currencySymbol = 'ETH') {
|
|
return `${ethFee} ${currencySymbol}`;
|
|
}
|