Add launchpad link to collection creation results (#10)

This commit is contained in:
Serkan Reis
2022-09-15 10:33:08 +03:00
committed by GitHub
parent e2a802f2b7
commit ddbdbd35ab
4 changed files with 13 additions and 1 deletions
+10 -1
View File
@@ -29,7 +29,7 @@ import { useEffect, useRef, useState } from 'react'
import { toast } from 'react-hot-toast'
import { upload } from 'services/upload'
import { compareFileArrays } from 'utils/compareFileArrays'
import { MINTER_CODE_ID, SG721_CODE_ID, WHITELIST_CODE_ID } from 'utils/constants'
import { MINTER_CODE_ID, SG721_CODE_ID, STARGAZE_URL, WHITELIST_CODE_ID } from 'utils/constants'
import { withMetadata } from 'utils/layout'
import { links } from 'utils/links'
@@ -436,6 +436,15 @@ const CollectionCreationPage: NextPage = () => {
>
{transactionHash}
</Anchor>
<Button className="mt-2">
<Anchor
className="text-white"
external
href={`${STARGAZE_URL}/launchpad/${minterContractAddress as string}`}
>
View on Launchpad
</Anchor>
</Button>
</div>
</Alert>
</Conditional>