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