ghost-dao-interface/src/helpers/tokenConverter.js
Uncle Fatso b44b6f0c14
small updates on the UI side
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-11-12 12:21:57 +03:00

11 lines
234 B
JavaScript

export const tokenNameConverter = (chainId, name) => {
if (name?.toUpperCase() === "WETH") {
switch (chainId) {
case 63:
name = "wmETC"
break;
}
}
return name;
}