remove validation

This commit is contained in:
jhernandezb 2022-10-28 12:56:54 -06:00
parent 6386429693
commit 1dc6f63996
2 changed files with 1 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "stargaze-studio", "name": "stargaze-studio",
"version": "0.2.3", "version": "0.2.4",
"workspaces": [ "workspaces": [
"packages/*" "packages/*"
], ],

View File

@ -381,8 +381,6 @@ const CollectionCreationPage: NextPage = () => {
if (whitelistDetails.memberLimit === 0) throw new Error('Member limit is required') if (whitelistDetails.memberLimit === 0) throw new Error('Member limit is required')
if (Number(whitelistDetails.startTime) > Number(whitelistDetails.endTime)) if (Number(whitelistDetails.startTime) > Number(whitelistDetails.endTime))
throw new Error('Whitelist start time cannot be later than whitelist end time') 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')
} }
} }