Fix factory switching related issues

This commit is contained in:
Serkan Reis
2023-08-29 14:13:57 +03:00
parent 1c06ae3eab
commit bf697745d5
2 changed files with 8 additions and 2 deletions
@@ -123,7 +123,13 @@ export const OpenEditionMinterCreator = ({
openEditionFactoryContract?.use(
collectionDetails?.updatable ? updatableFactoryAddressForSelectedDenom : factoryAddressForSelectedDenom,
),
[openEditionFactoryContract, wallet.address],
[
openEditionFactoryContract,
wallet.address,
collectionDetails?.updatable,
factoryAddressForSelectedDenom,
updatableFactoryAddressForSelectedDenom,
],
)
const performOpenEditionMinterChecks = () => {