diff --git a/components/collections/creation/UploadDetails.tsx b/components/collections/creation/UploadDetails.tsx index 0b8aa61..519f879 100644 --- a/components/collections/creation/UploadDetails.tsx +++ b/components/collections/creation/UploadDetails.tsx @@ -289,7 +289,7 @@ export const UploadDetails = ({ useEffect(() => { if (importedUploadDetails) { if (importedUploadDetails.uploadMethod === 'new') { - setUploadMethod('existing') + setUploadMethod('new') setUploadService(importedUploadDetails.uploadService) nftStorageApiKeyState.onChange(importedUploadDetails.nftStorageApiKey || '') pinataApiKeyState.onChange(importedUploadDetails.pinataApiKey || '') diff --git a/pages/collections/create.tsx b/pages/collections/create.tsx index 0053acd..bc83c42 100644 --- a/pages/collections/create.tsx +++ b/pages/collections/create.tsx @@ -1322,7 +1322,7 @@ const CollectionCreationPage: NextPage = () => { details.uploadDetails.baseTokenURI = details.baseTokenUri details.uploadDetails.imageUrl = details.coverImageUrl } - if (details.openEditionMinterDetails.openEditionMinterContractAddress) { + if (details.openEditionMinterDetails?.openEditionMinterContractAddress) { details.openEditionMinterDetails.offChainMetadataUploadDetails.uploadMethod = 'existing' details.openEditionMinterDetails.offChainMetadataUploadDetails.tokenURI = details.openEditionMinterDetails.tokenUri