Merge pull request #162 from public-awesome/develop

Sync development > main
This commit is contained in:
Serkan Reis 2023-05-04 13:44:47 +03:00 committed by GitHub
commit 2f77b2d365
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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} /> <InputDateTime minDate={new Date()} onChange={(date) => setTimestamp(date)} value={timestamp} />
</FormControl> </FormControl>
</FormGroup> </FormGroup>
<TextInput className="p-4 mt-10" {...paymentAddressState} /> <TextInput className="p-4 mt-5" {...paymentAddressState} />
</div> </div>
) )
} }

View File

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