@visualizevalue/mint-app-base 0.1.109 → 0.1.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -154,11 +154,7 @@ export const useOnchainStore = () => {
|
|
|
154
154
|
args: [artist],
|
|
155
155
|
chainId,
|
|
156
156
|
})).map((a: `0x${string}`) => a.toLowerCase() as `0x${string}`)
|
|
157
|
-
|
|
158
|
-
if (this.artists[artist].collections.length === collectionAddresses.length) {
|
|
159
|
-
console.info(`Collections fetched already (${collectionAddresses.length} collections)`)
|
|
160
|
-
return
|
|
161
|
-
}
|
|
157
|
+
.filter((a: `0x${string}`) => !this.artists[artist].collections.includes(a))
|
|
162
158
|
|
|
163
159
|
try {
|
|
164
160
|
await Promise.all(collectionAddresses.map(address => this.fetchCollection(address)))
|