From 1dc6f63996896eae66fc638c03b834fe653d5dec Mon Sep 17 00:00:00 2001 From: jhernandezb Date: Fri, 28 Oct 2022 12:56:54 -0600 Subject: [PATCH] remove validation --- package.json | 2 +- pages/collections/create.tsx | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index f838d66..392779b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stargaze-studio", - "version": "0.2.3", + "version": "0.2.4", "workspaces": [ "packages/*" ], diff --git a/pages/collections/create.tsx b/pages/collections/create.tsx index 57f2327..643b6ed 100644 --- a/pages/collections/create.tsx +++ b/pages/collections/create.tsx @@ -381,8 +381,6 @@ const CollectionCreationPage: NextPage = () => { if (whitelistDetails.memberLimit === 0) throw new Error('Member limit is required') if (Number(whitelistDetails.startTime) > Number(whitelistDetails.endTime)) throw new Error('Whitelist start time cannot be later than whitelist end time') - if (Number(whitelistDetails.endTime) > Number(mintingDetails?.startTime)) - throw new Error('Whitelist end time cannot be later than public start time') } }