Fix factory switching related issues
This commit is contained in:
parent
1c06ae3eab
commit
bf697745d5
@ -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 = () => {
|
||||
|
@ -124,7 +124,7 @@ const CollectionCreationPage: NextPage = () => {
|
||||
|
||||
const vendingFactoryMessages = useMemo(
|
||||
() => vendingFactoryContract?.use(vendingFactoryAddress as string),
|
||||
[vendingFactoryContract, wallet.address],
|
||||
[vendingFactoryContract, wallet.address, vendingFactoryAddress],
|
||||
)
|
||||
|
||||
const baseFactoryMessages = useMemo(
|
||||
|
Loading…
Reference in New Issue
Block a user