Merge pull request #39 from public-awesome/fix-external-link-issue
Fix: external_link related problem on collection creation
This commit is contained in:
commit
6008a4b831
@ -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,
|
||||
}
|
||||
|
@ -54,6 +54,7 @@ const CollectionCreationPage: NextPage = () => {
|
||||
vendingFactory: vendingFactoryContract,
|
||||
} = useContracts()
|
||||
const scrollRef = useRef<HTMLDivElement>(null)
|
||||
|
||||
const messages = useMemo(
|
||||
() => vendingFactoryContract?.use(VENDING_FACTORY_ADDRESS),
|
||||
[vendingFactoryContract, wallet.address],
|
||||
|
Loading…
Reference in New Issue
Block a user