Update checkUploadDetails()
This commit is contained in:
parent
fe4da95566
commit
8993b1b9c0
@ -508,6 +508,7 @@ const CollectionCreationPage: NextPage = () => {
|
||||
}
|
||||
|
||||
const checkUploadDetails = () => {
|
||||
if (!wallet.initialized) throw new Error('Wallet not connected.')
|
||||
if (!uploadDetails) {
|
||||
throw new Error('Please select assets and metadata')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user