commit
f77ab91245
@ -138,10 +138,10 @@ export const MintingDetails = ({
|
|||||||
isRequired
|
isRequired
|
||||||
value={uploadMethod === 'new' ? numberOfTokens : numberOfTokensState.value}
|
value={uploadMethod === 'new' ? numberOfTokens : numberOfTokensState.value}
|
||||||
/>
|
/>
|
||||||
<div className="flex flex-row items-center">
|
<div className="flex flex-row items-end">
|
||||||
<NumberInput {...unitPriceState} isRequired />
|
<NumberInput {...unitPriceState} isRequired />
|
||||||
<select
|
<select
|
||||||
className="py-[9px] px-4 mt-14 ml-2 placeholder:text-white/50 bg-white/10 rounded border-2 border-white/20 focus:ring focus:ring-plumbus-20"
|
className="py-[9px] px-4 ml-2 placeholder:text-white/50 bg-white/10 rounded border-2 border-white/20 focus:ring focus:ring-plumbus-20"
|
||||||
onChange={(e) => setSelectedMintToken(tokensList.find((t) => t.displayName === e.target.value))}
|
onChange={(e) => setSelectedMintToken(tokensList.find((t) => t.displayName === e.target.value))}
|
||||||
value={selectedMintToken?.displayName}
|
value={selectedMintToken?.displayName}
|
||||||
>
|
>
|
||||||
|
@ -126,10 +126,10 @@ export const MintingDetails = ({
|
|||||||
return (
|
return (
|
||||||
<div className="border-l-[1px] border-gray-500 border-opacity-20">
|
<div className="border-l-[1px] border-gray-500 border-opacity-20">
|
||||||
<FormGroup subtitle="Information about your minting settings" title="Minting Details">
|
<FormGroup subtitle="Information about your minting settings" title="Minting Details">
|
||||||
<div className="flex flex-row items-center">
|
<div className="flex flex-row items-end">
|
||||||
<NumberInput {...unitPriceState} isRequired />
|
<NumberInput {...unitPriceState} isRequired />
|
||||||
<select
|
<select
|
||||||
className="py-[9px] px-4 mt-14 ml-4 placeholder:text-white/50 bg-white/10 rounded border-2 border-white/20 focus:ring focus:ring-plumbus-20"
|
className="py-[9px] px-4 ml-4 placeholder:text-white/50 bg-white/10 rounded border-2 border-white/20 focus:ring focus:ring-plumbus-20"
|
||||||
onChange={(e) => setSelectedMintToken(tokensList.find((t) => t.displayName === e.target.value))}
|
onChange={(e) => setSelectedMintToken(tokensList.find((t) => t.displayName === e.target.value))}
|
||||||
value={selectedMintToken?.displayName}
|
value={selectedMintToken?.displayName}
|
||||||
>
|
>
|
||||||
|
@ -1130,7 +1130,6 @@ const CollectionCreationPage: NextPage = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const fetchInitialFactoryParameters = async () => {
|
const fetchInitialFactoryParameters = async () => {
|
||||||
if (!wallet.isWalletConnected) return
|
|
||||||
const client = await wallet.getCosmWasmClient()
|
const client = await wallet.getCosmWasmClient()
|
||||||
if (BASE_FACTORY_ADDRESS) {
|
if (BASE_FACTORY_ADDRESS) {
|
||||||
const baseFactoryParameters = await client
|
const baseFactoryParameters = await client
|
||||||
@ -1210,7 +1209,6 @@ const CollectionCreationPage: NextPage = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const fetchOpenEditionFactoryParameters = useCallback(async () => {
|
const fetchOpenEditionFactoryParameters = useCallback(async () => {
|
||||||
if (!wallet.isWalletConnected) return
|
|
||||||
const client = await wallet.getCosmWasmClient()
|
const client = await wallet.getCosmWasmClient()
|
||||||
const factoryForSelectedDenom = openEditionMinterList.find(
|
const factoryForSelectedDenom = openEditionMinterList.find(
|
||||||
(minter) =>
|
(minter) =>
|
||||||
@ -1262,7 +1260,6 @@ const CollectionCreationPage: NextPage = () => {
|
|||||||
])
|
])
|
||||||
|
|
||||||
const fetchVendingFactoryParameters = useCallback(async () => {
|
const fetchVendingFactoryParameters = useCallback(async () => {
|
||||||
if (!wallet.isWalletConnected) return
|
|
||||||
const client = await wallet.getCosmWasmClient()
|
const client = await wallet.getCosmWasmClient()
|
||||||
const vendingFactoryForSelectedDenom = vendingMinterList
|
const vendingFactoryForSelectedDenom = vendingMinterList
|
||||||
.concat(flexibleVendingMinterList)
|
.concat(flexibleVendingMinterList)
|
||||||
|
Loading…
Reference in New Issue
Block a user