Merge pull request #69 from public-awesome/develop

Sync development > main
This commit is contained in:
Serkan Reis 2022-11-24 09:25:58 +03:00 committed by GitHub
commit d40ed12c5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,12 +195,14 @@ export const UploadDetails = ({ onChange }: UploadDetailsProps) => {
pinataSecretKey: pinataSecretKeyState.value,
uploadMethod,
baseTokenURI: baseTokenUriState.value
.replace('IPFS://', 'ipfs://')
.replace(/,/g, '')
.replace(/"/g, '')
.replace(/'/g, '')
.replace(/ /g, '')
.replace(regex, ''),
imageUrl: coverImageUrlState.value
.replace('IPFS://', 'ipfs://')
.replace(/,/g, '')
.replace(/"/g, '')
.replace(/'/g, '')