remove validation
This commit is contained in:
parent
6386429693
commit
1dc6f63996
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "stargaze-studio",
|
"name": "stargaze-studio",
|
||||||
"version": "0.2.3",
|
"version": "0.2.4",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
],
|
],
|
||||||
|
@ -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')
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user