diff --git a/src/components/FaucetButton.tsx b/src/components/FaucetButton.tsx index 5d734767..17b0e7f1 100644 --- a/src/components/FaucetButton.tsx +++ b/src/components/FaucetButton.tsx @@ -4,7 +4,7 @@ import { Button, SvgIcon, Typography } from '@mui/material'; import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; import { DarkTooltip } from './infoTooltips/DarkTooltip'; -import { Link, ROUTES } from './primitives/Link'; +import { Link } from './primitives/Link'; export const FaucetButton = () => { const { currentNetworkConfig } = useProtocolDataContext(); @@ -25,7 +25,7 @@ export const FaucetButton = () => { } component={Link} - href={ROUTES.faucet} + href={"https://faucet.etherlink.com"} variant="outlined" size="small" > diff --git a/src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsListItem.tsx b/src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsListItem.tsx index f8954811..e36f38ef 100644 --- a/src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsListItem.tsx +++ b/src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsListItem.tsx @@ -28,11 +28,10 @@ export const SupplyAssetsListItem = ({ isActive, isFreezed, detailsAddress, - showSwap, hideSupply, }: DashboardReserve) => { const { currentMarket } = useProtocolDataContext(); - const { openSupply, openPSMSwap } = useModalContext(); + const { openSupply } = useModalContext(); // Hide the asset to prevent it from being supplied if supply cap has been reached const { supplyCap: supplyCapUsage } = useAssetCaps(); @@ -85,12 +84,12 @@ export const SupplyAssetsListItem = ({ Deposit )} - {showSwap && ( + {/* {showSwap && ( - )} - {!(showSwap && !hideSupply) && ( + )} */} + {!hideSupply && ( )} - {showSwap && ( + {/* {showSwap && ( - )} - {!(showSwap && !hideSupply) && ( + )} */} + {!hideSupply && (