Unmicro whitelist unit price
This commit is contained in:
parent
5578c408a5
commit
f25807f355
@ -160,7 +160,9 @@ export const WhitelistDetails = ({
|
|||||||
whitelistAddressState.onChange(
|
whitelistAddressState.onChange(
|
||||||
importedWhitelistDetails.contractAddress ? importedWhitelistDetails.contractAddress : '',
|
importedWhitelistDetails.contractAddress ? importedWhitelistDetails.contractAddress : '',
|
||||||
)
|
)
|
||||||
unitPriceState.onChange(importedWhitelistDetails.unitPrice ? Number(importedWhitelistDetails.unitPrice) : 0)
|
unitPriceState.onChange(
|
||||||
|
importedWhitelistDetails.unitPrice ? Number(importedWhitelistDetails.unitPrice) / 1000000 : 0,
|
||||||
|
)
|
||||||
memberLimitState.onChange(importedWhitelistDetails.memberLimit ? importedWhitelistDetails.memberLimit : 0)
|
memberLimitState.onChange(importedWhitelistDetails.memberLimit ? importedWhitelistDetails.memberLimit : 0)
|
||||||
perAddressLimitState.onChange(
|
perAddressLimitState.onChange(
|
||||||
importedWhitelistDetails.perAddressLimit ? importedWhitelistDetails.perAddressLimit : 0,
|
importedWhitelistDetails.perAddressLimit ? importedWhitelistDetails.perAddressLimit : 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user