Base Token URI display update

This commit is contained in:
Serkan Reis 2022-10-27 10:15:26 +03:00
parent eac77b006d
commit e575ae3b0a

View File

@ -189,7 +189,7 @@ const CollectionCreationPage: NextPage = () => {
const msg = { const msg = {
create_minter: { create_minter: {
init_msg: { init_msg: {
base_token_uri: `${uploadDetails?.uploadMethod === 'new' ? `ipfs://${baseUri}/` : `${baseUri}`}`, base_token_uri: `${uploadDetails?.uploadMethod === 'new' ? `ipfs://${baseUri}` : `${baseUri}`}`,
start_time: mintingDetails?.startTime, start_time: mintingDetails?.startTime,
num_tokens: mintingDetails?.numTokens, num_tokens: mintingDetails?.numTokens,
mint_price: { mint_price: {
@ -431,9 +431,9 @@ const CollectionCreationPage: NextPage = () => {
<Anchor <Anchor
className="text-stargaze hover:underline" className="text-stargaze hover:underline"
external external
href={`https://ipfs.stargaze.zone/ipfs/${baseTokenUri as string}/`} href={`https://ipfs.stargaze.zone/ipfs/${baseTokenUri as string}`}
> >
ipfs://{baseTokenUri as string}/ ipfs://{baseTokenUri as string}
</Anchor> </Anchor>
)} )}
{uploadDetails?.uploadMethod === 'existing' && ( {uploadDetails?.uploadMethod === 'existing' && (