Merge pull request #41 from public-awesome/develop

dev>main
This commit is contained in:
Jorge Hernandez 2022-10-20 22:23:26 -06:00 committed by GitHub
commit 55a3f4a970
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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,
}

View File

@ -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],