mirror of
https://github.com/fosrl/pangolin.git
synced 2026-09-04 02:09:43 +02:00
Please eslint
This commit is contained in:
@@ -984,7 +984,7 @@ async function listLabelGroups(
|
||||
).length;
|
||||
}
|
||||
|
||||
let groups: LauncherGroup[] = Array.from(labelCountMap.values()).map(
|
||||
const groups: LauncherGroup[] = Array.from(labelCountMap.values()).map(
|
||||
(row) => ({
|
||||
groupKey: String(row.labelId),
|
||||
name: row.name,
|
||||
|
||||
@@ -80,7 +80,7 @@ export async function buildSiteConfigurationForOlmClient(
|
||||
);
|
||||
|
||||
const siteResourcesBySiteId = new Map<number, SiteResource[]>();
|
||||
let siteResourcesForExitNode = [];
|
||||
const siteResourcesForExitNode = [];
|
||||
for (const row of allClientSiteResources) {
|
||||
if (row.siteResource.requiresExitNodeConnection) {
|
||||
siteResourcesForExitNode.push(row.siteResource);
|
||||
|
||||
@@ -378,7 +378,6 @@ function EditAttachmentCredenza({
|
||||
setModelSearch("");
|
||||
pendingSeedRef.current = false;
|
||||
// Only re-init when opening or switching which attachment is edited.
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [open, attachment.providerId]);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
@@ -319,7 +319,6 @@ export function LogDataTable<TData, TValue>({
|
||||
const pageIndex = table.getState().pagination.pageIndex;
|
||||
useEffect(() => {
|
||||
setExpandedRows(new Set());
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [pageIndex]);
|
||||
|
||||
const handleTabChange = (value: string) => {
|
||||
|
||||
Reference in New Issue
Block a user