Add free public mint disclaimer

This commit is contained in:
Serkan Reis 2023-05-04 12:57:45 +03:00
parent 69da9f6641
commit 7411c9c908
2 changed files with 13 additions and 1 deletions

View File

@ -112,7 +112,7 @@ export const MintingDetails = ({ onChange, numberOfTokens, uploadMethod, minimum
<InputDateTime minDate={new Date()} onChange={(date) => setTimestamp(date)} value={timestamp} />
</FormControl>
</FormGroup>
<TextInput className="p-4 mt-10" {...paymentAddressState} />
<TextInput className="p-4 mt-5" {...paymentAddressState} />
</div>
)
}

View File

@ -1370,6 +1370,18 @@ const CollectionCreationPage: NextPage = () => {
/>
</Conditional>
</div>
<Conditional
test={
mintingDetails?.numTokens !== undefined &&
mintingDetails.numTokens > 0 &&
mintingDetails.unitPrice === '0'
}
>
<Alert className="mt-4" type="info">
Setting the public minting price as 0 may render the collection vulnerable for bot attacks on the
Launchpad. Please consider creating a whitelist of addresses that can mint for free instead.
</Alert>
</Conditional>
</Conditional>
<Conditional