Fix the mechanical lint groups and delete the unused bindings. [skip build]
This commit is contained in:
1 parent
593dd3bdf3
commit
5477242661
26 files changed
+95
-161
No files matched your search
@@ -200,7 +200,9 @@ export function Permissions({ requestClose }: PermissionsProps) {
|
||||
|
||||
// Add a small delay to avoid rate limiting
|
||||
if (completed < total) {
|
||||
await new Promise((resolve) => setTimeout(resolve, 100));
|
||||
await new Promise((resolve) => {
|
||||
setTimeout(resolve, 100);
|
||||
});
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
@@ -297,7 +299,9 @@ export function Permissions({ requestClose }: PermissionsProps) {
|
||||
|
||||
// Add a small delay to avoid rate limiting
|
||||
if (completed < total) {
|
||||
await new Promise((resolve) => setTimeout(resolve, 100));
|
||||
await new Promise((resolve) => {
|
||||
setTimeout(resolve, 100);
|
||||
});
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
@@ -325,7 +329,6 @@ export function Permissions({ requestClose }: PermissionsProps) {
|
||||
return <PowersEditor powerLevels={powerLevels} requestClose={() => setPowerEditor(false)} />;
|
||||
}
|
||||
|
||||
const hasSyncableChildren = allChildren.length > 0;
|
||||
const isSyncing = syncState.status === AsyncStatus.Loading;
|
||||
const syncSuccess = syncState.status === AsyncStatus.Success;
|
||||
const syncError = syncState.status === AsyncStatus.Error;
|
||||
|
||||
Reference in new issue
Block a user