diff --git a/web/src/pages/Home/Stats/index.tsx b/web/src/pages/Home/Stats/index.tsx index 799f85f..a3df3bd 100644 --- a/web/src/pages/Home/Stats/index.tsx +++ b/web/src/pages/Home/Stats/index.tsx @@ -69,7 +69,11 @@ const Stats = () => { }, { title: "All time deposits", - text: `${formatUSD(ethDeposit * pricesData?.[CoinIds.ETH]?.price)}`, + text: `${ + ethDeposit && pricesData?.[CoinIds.ETH]?.price + ? formatUSD(ethDeposit * pricesData?.[CoinIds.ETH]?.price) + : "0$" + }`, subtext: `${ethDeposit} ETH`, color: "green", icon: DollarIcon, diff --git a/web/src/pages/SubmitList/DeployList/ListDetails.tsx b/web/src/pages/SubmitList/DeployList/ListDetails.tsx index da1a32b..d1ce8a1 100644 --- a/web/src/pages/SubmitList/DeployList/ListDetails.tsx +++ b/web/src/pages/SubmitList/DeployList/ListDetails.tsx @@ -65,7 +65,7 @@ const StyledP = styled.p` const ChainContainer = styled.div` display: flex; gap: 8px; - align-items: top; + align-items: center; justify-content: center; `; diff --git a/web/src/pages/SubmitList/ListParameters/Policy.tsx b/web/src/pages/SubmitList/ListParameters/Policy.tsx index 72091b5..cabaeae 100644 --- a/web/src/pages/SubmitList/ListParameters/Policy.tsx +++ b/web/src/pages/SubmitList/ListParameters/Policy.tsx @@ -10,6 +10,7 @@ import { toast } from "react-toastify"; import { OPTIONS as toastOptions } from "utils/wrapWithToast"; import { uploadFileToIPFS } from "utils/uploadFileToIPFS"; import { SUPPORTED_FILE_TYPES } from "src/consts"; +import { getIpfsUrl } from "utils/getIpfsUrl"; const Container = styled.div` display: flex; @@ -64,7 +65,14 @@ const Policy: React.FC = () => { Fundamental to any list, the List Policy provides users with a set of rules that define what is allowed, and what isn’t allowed to be included in the list. Make sure to write it clearly, avoiding double interpretations.
- Check a Policy example . + + Check a Policy example + {" "} + .