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