diff --git a/components/collections/creation/CollectionDetails.tsx b/components/collections/creation/CollectionDetails.tsx index d8b56cc..a078689 100644 --- a/components/collections/creation/CollectionDetails.tsx +++ b/components/collections/creation/CollectionDetails.tsx @@ -71,7 +71,7 @@ export const CollectionDetails = ({ onChange, uploadMethod, coverImageUrl }: Col description: descriptionState.value, symbol: symbolState.value, imageFile: coverImage ? [coverImage] : [], - externalLink: externalLinkState.value, + externalLink: externalLinkState.value || undefined, startTradingTime: timestamp ? (timestamp.getTime() * 1_000_000).toString() : '', explicit, } diff --git a/pages/collections/create.tsx b/pages/collections/create.tsx index 7780014..006d5e4 100644 --- a/pages/collections/create.tsx +++ b/pages/collections/create.tsx @@ -54,6 +54,7 @@ const CollectionCreationPage: NextPage = () => { vendingFactory: vendingFactoryContract, } = useContracts() const scrollRef = useRef(null) + const messages = useMemo( () => vendingFactoryContract?.use(VENDING_FACTORY_ADDRESS), [vendingFactoryContract, wallet.address],