style: auto-fix lint and format

This commit is contained in:
ajnart authored and github-actions[bot] committed 2026-06-27 10:15:09 +00:00
1 parent 12bf6ee4be
commit 482e74f8c7
1 file changed
+5 -1
@@ -52,7 +52,11 @@ export default function SystemResources({ integrationIds, options }: WidgetCompo
if (!firstItem) return;
const idsChanged = prevIntegrationIds.current !== integrationIds;
prevIntegrationIds.current = integrationIds;
setItems((prev) => (idsChanged ? [toChartItem(firstItem.healthInfo)] : [...prev, toChartItem(firstItem.healthInfo)].slice(-MAX_QUEUE_SIZE)));
setItems((prev) =>
idsChanged
? [toChartItem(firstItem.healthInfo)]
: [...prev, toChartItem(firstItem.healthInfo)].slice(-MAX_QUEUE_SIZE),
);
}, [dataUpdatedAt, data, integrationIds]);
const showNetwork =