From 8993b1b9c01a199e739a217ba962f0904c9298fd Mon Sep 17 00:00:00 2001 From: Serkan Reis Date: Tue, 13 Dec 2022 21:58:40 +0300 Subject: [PATCH] Update checkUploadDetails() --- pages/collections/create.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/collections/create.tsx b/pages/collections/create.tsx index d6c31bb..baa0154 100644 --- a/pages/collections/create.tsx +++ b/pages/collections/create.tsx @@ -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') }