Merge pull request #208 from public-awesome/factory-switching
Fix factory switching related issues
This commit is contained in:
commit
1501c6790d
@ -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