Update checkUploadDetails()

This commit is contained in:
Serkan Reis 2022-12-13 21:58:40 +03:00
parent fe4da95566
commit 8993b1b9c0

View File

@ -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')
}