Checking if dataToken.publishMarketFeeToken exists

This commit is contained in:
Jamie Hewitt 2023-06-30 17:30:02 +03:00
parent 71be6ce9ff
commit 4eeefbf707

View File

@ -264,7 +264,7 @@ export function handlePublishMarketFeeChanged(
true
)
let feeDecimals = BigInt.fromI32(18).toI32()
if (dataToken) {
if (dataToken.publishMarketFeeToken) {
const feeToken = getToken(
Address.fromString(dataToken.publishMarketFeeToken!),
false