Fix: price input for update_mint_price not being displayed

This commit is contained in:
Serkan Reis 2022-10-22 08:48:10 +03:00
parent b65fabca43
commit 91be311cfe

View File

@ -84,7 +84,7 @@ const MinterExecutePage: NextPage = () => {
const showLimitField = type === 'update_per_address_limit'
const showTokenIdField = type === 'mint_for'
const showRecipientField = isEitherType(type, ['mint_to', 'mint_for'])
const showPriceField = type === 'mint'
const showPriceField = isEitherType(type, ['mint', 'update_mint_price'])
const messages = useMemo(() => contract?.use(contractState.value), [contract, wallet.address, contractState.value])
const payload: DispatchExecuteArgs = {