diff --git a/src/components/DomainSizeModal.tsx b/src/components/DomainSizeModal.tsx index 3ebebb9..1aecb6d 100644 --- a/src/components/DomainSizeModal.tsx +++ b/src/components/DomainSizeModal.tsx @@ -7,6 +7,7 @@ import { useStorageMap } from "@src/hooks/useStorageMap"; import { WrapModal } from "./WrapModal"; const LIST = [ + { label: "0kb", value: 0 }, { label: "1kb", value: 1_000 }, { label: "2kb", value: 2_000 }, { label: "3kb", value: 3_000 }, @@ -29,7 +30,7 @@ export const DomainSizeModal = ({ useEffect(() => { if (!map.get(domain)) { - actions.set(domain, 1_000); + actions.set(domain, 0); } }, []); diff --git a/src/screens/Cart/index.tsx b/src/screens/Cart/index.tsx index a93958b..e448f69 100644 --- a/src/screens/Cart/index.tsx +++ b/src/screens/Cart/index.tsx @@ -71,7 +71,7 @@ const checkEnoughFunds = async ( return balances > total; }; -const DEFAULT_SPACE = 1_000; +const DEFAULT_SPACE = 0; type CurrentStep = 1 | 2 | 3;