Reset upload details on import for 1/1 collections

This commit is contained in:
Serkan Reis 2023-08-21 16:43:05 +03:00
parent f25807f355
commit 1ca1d08b2a

View File

@ -280,7 +280,7 @@ export const UploadDetails = ({
setMetadataFilesArray([])
if (assetFilesRef.current) assetFilesRef.current.value = ''
setAssetFilesArray([])
if (!importedUploadDetails) {
if (!importedUploadDetails || minterType === 'base') {
baseTokenUriState.onChange('')
coverImageUrlState.onChange('')
}