fix for the bond icons on sepolia
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
da1cf93f34
commit
1239b81889
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ghost-dao-interface",
|
||||
"private": true,
|
||||
"version": "0.5.13",
|
||||
"version": "0.5.14",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@ -86,8 +86,6 @@ const BondInputArea = ({
|
||||
: bond.capacity.inBaseToken
|
||||
);
|
||||
|
||||
console.log(bond.quoteToken.icons)
|
||||
|
||||
return (
|
||||
<Box minHeight="calc(100vh - 210px)" display="flex" flexDirection="column" justifyContent="center">
|
||||
<Box display="flex" flexDirection="row" width="100%" justifyContent="center" mt="10px">
|
||||
|
||||
@ -141,7 +141,7 @@ export const getTokenIcons = (chainId, address) => {
|
||||
let icons = [""];
|
||||
switch (address) {
|
||||
case RESERVE_ADDRESSES[chainId]:
|
||||
icons = [chainId === 11155111 ? "GDAI" : "WETH"];
|
||||
icons = ["WETH"];
|
||||
break;
|
||||
case FTSO_ADDRESSES[chainId]:
|
||||
icons = ["FTSO"];
|
||||
@ -153,7 +153,7 @@ export const getTokenIcons = (chainId, address) => {
|
||||
icons = ["GHST"];
|
||||
break;
|
||||
case FTSO_DAI_LP_ADDRESSES[chainId]:
|
||||
icons = ["FTSO", chainId === 11155111 ? "GDAI" : "WETH"];
|
||||
icons = ["FTSO", "WETH"];
|
||||
break;
|
||||
}
|
||||
return icons;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user