mirror of
https://github.com/logos-storage/logos-storage-marketplace-ui.git
synced 2026-01-06 15:33:09 +00:00
Use slots instead of purchases to check marketplace in order to avoid to make multiple request
This commit is contained in:
parent
a61207cf43
commit
dc8b42c03a
@ -9,7 +9,7 @@ export function usePersistence(isCodexOnline: boolean) {
|
||||
queryKey: [],
|
||||
queryFn: async () => {
|
||||
return CodexSdk.marketplace()
|
||||
.purchases()
|
||||
.activeSlots()
|
||||
.then((data) => Promises.rejectOnError(data, report));
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user