Merge pull request #333 from public-awesome/fix-factory-validation

Fix factory validation on init issue
This commit is contained in:
Serkan Reis 2024-02-07 10:27:41 +02:00 committed by GitHub
commit 3f44e342e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1307,7 +1307,7 @@ const CollectionCreationPage: NextPage = () => {
setMintTokenFromVendingFactory( setMintTokenFromVendingFactory(
tokensList.find((token) => token.denom === vendingFactoryParameters?.params?.min_mint_price?.denom), tokensList.find((token) => token.denom === vendingFactoryParameters?.params?.min_mint_price?.denom),
) )
} else { } else if (mintingDetails?.selectedMintToken && whitelistDetails?.whitelistState) {
setIsMatchingVendingFactoryPresent(false) setIsMatchingVendingFactoryPresent(false)
} }
}, [ }, [