Let the async lock cook
This commit is contained in:
@@ -122,10 +122,7 @@ export function useLabelerSubscriptionMutation() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (invalidLabelers.length) {
|
if (invalidLabelers.length) {
|
||||||
for (const did of invalidLabelers) {
|
await Promise.all(invalidLabelers.map(did => agent.removeLabeler(did)))
|
||||||
// remove sequentially, not concurrently, due to prefs issues
|
|
||||||
await agent.removeLabeler(did)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (subscribe) {
|
if (subscribe) {
|
||||||
|
|||||||
Reference in New Issue
Block a user