Replace Append -> Add

This commit is contained in:
Serkan Reis 2023-03-31 19:25:32 +03:00
parent 245117da7a
commit 3efad8a1fd
3 changed files with 8 additions and 10 deletions

View File

@ -1,6 +1,4 @@
/* eslint-disable eslint-comments/disable-enable-pair */ /* eslint-disable eslint-comments/disable-enable-pair */
/* eslint-disable @typescript-eslint/no-unsafe-call */
/* eslint-disable @typescript-eslint/no-unsafe-return */
import { useBaseMinterContract } from 'contracts/baseMinter' import { useBaseMinterContract } from 'contracts/baseMinter'
import type { CollectionInfo, SG721Instance } from 'contracts/sg721' import type { CollectionInfo, SG721Instance } from 'contracts/sg721'
@ -48,8 +46,8 @@ export interface ActionListItem {
export const BASE_ACTION_LIST: ActionListItem[] = [ export const BASE_ACTION_LIST: ActionListItem[] = [
{ {
id: 'mint_token_uri', id: 'mint_token_uri',
name: 'Append New Token', name: 'Add New Token',
description: `Mint a new token and append it to the collection`, description: `Mint a new token and add it to the collection`,
}, },
{ {
id: 'update_start_trading_time', id: 'update_start_trading_time',

View File

@ -177,7 +177,7 @@ export const BaseMinterDetails = ({ onChange, minterType }: BaseMinterDetailsPro
className="inline-block py-1 px-2 text-gray peer-checked:text-white hover:text-white peer-checked:bg-black peer-checked:border-b-2 hover:border-b-2 peer-checked:border-plumbus hover:border-plumbus cursor-pointer form-check-label" className="inline-block py-1 px-2 text-gray peer-checked:text-white hover:text-white peer-checked:bg-black peer-checked:border-b-2 hover:border-b-2 peer-checked:border-plumbus hover:border-plumbus cursor-pointer form-check-label"
htmlFor="inlineRadio6" htmlFor="inlineRadio6"
> >
Append a New Token to an Existing 1/1 Collection Add a New Token to an Existing 1/1 Collection
</label> </label>
</div> </div>
</div> </div>

View File

@ -336,7 +336,7 @@ const CollectionCreationPage: NextPage = () => {
return result return result
}) })
.then((result) => { .then((result) => {
toast.success(`Token(s) minted & appended to the collection successfully! Tx Hash: ${result}`, { toast.success(`Token(s) minted & added to the collection successfully! Tx Hash: ${result}`, {
style: { maxWidth: 'none' }, style: { maxWidth: 'none' },
duration: 5000, duration: 5000,
}) })
@ -355,7 +355,7 @@ const CollectionCreationPage: NextPage = () => {
.use(baseMinterDetails?.existingBaseMinter as string) .use(baseMinterDetails?.existingBaseMinter as string)
?.mint(wallet.address, `${uploadDetails?.baseTokenURI?.trim()}`) ?.mint(wallet.address, `${uploadDetails?.baseTokenURI?.trim()}`)
.then((result) => { .then((result) => {
toast.success(`Token minted & appended to the collection successfully! Tx Hash: ${result}`, { toast.success(`Token minted & added to the collection successfully! Tx Hash: ${result}`, {
style: { maxWidth: 'none' }, style: { maxWidth: 'none' },
duration: 5000, duration: 5000,
}) })
@ -913,7 +913,7 @@ const CollectionCreationPage: NextPage = () => {
<NextSeo <NextSeo
title={ title={
minterType === 'base' && baseMinterDetails?.baseMinterAcquisitionMethod === 'existing' minterType === 'base' && baseMinterDetails?.baseMinterAcquisitionMethod === 'existing'
? 'Append Token' ? 'Add Token'
: 'Create Collection' : 'Create Collection'
} }
/> />
@ -921,7 +921,7 @@ const CollectionCreationPage: NextPage = () => {
<div className="mt-5 space-y-5 text-center"> <div className="mt-5 space-y-5 text-center">
<h1 className="font-heading text-4xl font-bold"> <h1 className="font-heading text-4xl font-bold">
{minterType === 'base' && baseMinterDetails?.baseMinterAcquisitionMethod === 'existing' {minterType === 'base' && baseMinterDetails?.baseMinterAcquisitionMethod === 'existing'
? 'Append Token' ? 'Add Token'
: 'Create Collection'} : 'Create Collection'}
</h1> </h1>
@ -1195,7 +1195,7 @@ const CollectionCreationPage: NextPage = () => {
onClick={performUploadAndMintChecks} onClick={performUploadAndMintChecks}
variant="solid" variant="solid"
> >
Mint & Append Token(s) Mint & Add Token(s)
</Button> </Button>
</Conditional> </Conditional>
</div> </div>