Revert and move the previous change
This commit is contained in:
parent
1f6fa1e34b
commit
dc635ff3a2
@ -67,7 +67,11 @@ export const MintingDetails = ({ onChange, uploadMethod, minimumMintPrice }: Min
|
||||
|
||||
useEffect(() => {
|
||||
const data: MintingDetailsDataProps = {
|
||||
unitPrice: unitPriceState.value ? Number(unitPriceState.value).toString() : unitPriceState.value === 0 ? '0' : '',
|
||||
unitPrice: unitPriceState.value
|
||||
? (Number(unitPriceState.value) * 1_000_000).toString()
|
||||
: unitPriceState.value === 0
|
||||
? '0'
|
||||
: '',
|
||||
perAddressLimit: perAddressLimitState.value,
|
||||
startTime: timestamp ? (timestamp.getTime() * 1_000_000).toString() : '',
|
||||
endTime: endTimestamp ? (endTimestamp.getTime() * 1_000_000).toString() : '',
|
||||
|
@ -500,7 +500,7 @@ export const OpenEditionMinterCreator = ({
|
||||
start_time: mintingDetails?.startTime,
|
||||
end_time: mintingDetails?.endTime,
|
||||
mint_price: {
|
||||
amount: (Number(mintingDetails?.unitPrice) * 1000000).toString(),
|
||||
amount: Number(mintingDetails?.unitPrice).toString(),
|
||||
denom: 'ustars',
|
||||
},
|
||||
per_address_limit: mintingDetails?.perAddressLimit,
|
||||
|
Loading…
Reference in New Issue
Block a user