Let the async lock cook

This commit is contained in:
Eric Bailey
2024-07-11 16:26:01 -05:00
parent cdc0ce42d3
commit 8872f7225e
+1 -4
View File
@@ -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) {