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",
|
"name": "ghost-dao-interface",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.5.13",
|
"version": "0.5.14",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@ -86,8 +86,6 @@ const BondInputArea = ({
|
|||||||
: bond.capacity.inBaseToken
|
: bond.capacity.inBaseToken
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log(bond.quoteToken.icons)
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Box minHeight="calc(100vh - 210px)" display="flex" flexDirection="column" justifyContent="center">
|
<Box minHeight="calc(100vh - 210px)" display="flex" flexDirection="column" justifyContent="center">
|
||||||
<Box display="flex" flexDirection="row" width="100%" justifyContent="center" mt="10px">
|
<Box display="flex" flexDirection="row" width="100%" justifyContent="center" mt="10px">
|
||||||
|
|||||||
@ -141,7 +141,7 @@ export const getTokenIcons = (chainId, address) => {
|
|||||||
let icons = [""];
|
let icons = [""];
|
||||||
switch (address) {
|
switch (address) {
|
||||||
case RESERVE_ADDRESSES[chainId]:
|
case RESERVE_ADDRESSES[chainId]:
|
||||||
icons = [chainId === 11155111 ? "GDAI" : "WETH"];
|
icons = ["WETH"];
|
||||||
break;
|
break;
|
||||||
case FTSO_ADDRESSES[chainId]:
|
case FTSO_ADDRESSES[chainId]:
|
||||||
icons = ["FTSO"];
|
icons = ["FTSO"];
|
||||||
@ -153,7 +153,7 @@ export const getTokenIcons = (chainId, address) => {
|
|||||||
icons = ["GHST"];
|
icons = ["GHST"];
|
||||||
break;
|
break;
|
||||||
case FTSO_DAI_LP_ADDRESSES[chainId]:
|
case FTSO_DAI_LP_ADDRESSES[chainId]:
|
||||||
icons = ["FTSO", chainId === 11155111 ? "GDAI" : "WETH"];
|
icons = ["FTSO", "WETH"];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return icons;
|
return icons;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user