From 4dada38cb09d0abcbcbf31ce38c6e078be2ec5af Mon Sep 17 00:00:00 2001 From: Owen Date: Thu, 3 Sep 2026 10:51:46 -0400 Subject: [PATCH] Please eslint --- server/routers/launcher/launcherResourceAccess.ts | 2 +- server/routers/olm/buildConfiguration.ts | 2 +- src/components/AiProviderAttachments.tsx | 1 - src/components/LogDataTable.tsx | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/server/routers/launcher/launcherResourceAccess.ts b/server/routers/launcher/launcherResourceAccess.ts index 06d489e7b..813b83cc9 100644 --- a/server/routers/launcher/launcherResourceAccess.ts +++ b/server/routers/launcher/launcherResourceAccess.ts @@ -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, diff --git a/server/routers/olm/buildConfiguration.ts b/server/routers/olm/buildConfiguration.ts index 1eb2cfa91..6db0fa291 100644 --- a/server/routers/olm/buildConfiguration.ts +++ b/server/routers/olm/buildConfiguration.ts @@ -80,7 +80,7 @@ export async function buildSiteConfigurationForOlmClient( ); const siteResourcesBySiteId = new Map(); - let siteResourcesForExitNode = []; + const siteResourcesForExitNode = []; for (const row of allClientSiteResources) { if (row.siteResource.requiresExitNodeConnection) { siteResourcesForExitNode.push(row.siteResource); diff --git a/src/components/AiProviderAttachments.tsx b/src/components/AiProviderAttachments.tsx index 2af6c7371..8bb86c571 100644 --- a/src/components/AiProviderAttachments.tsx +++ b/src/components/AiProviderAttachments.tsx @@ -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(() => { diff --git a/src/components/LogDataTable.tsx b/src/components/LogDataTable.tsx index b6e34ef80..a982a71ad 100644 --- a/src/components/LogDataTable.tsx +++ b/src/components/LogDataTable.tsx @@ -319,7 +319,6 @@ export function LogDataTable({ const pageIndex = table.getState().pagination.pageIndex; useEffect(() => { setExpandedRows(new Set()); - // eslint-disable-next-line react-hooks/exhaustive-deps }, [pageIndex]); const handleTabChange = (value: string) => {