fix: suppress remaining lint errors in FlowPilotSession and AnalyticsPage

- eslint-disable for unused _ticket param (needed for onSelect type compat)
- eslint-disable for setState in lazy-load useEffect

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
chihlasm
2026-03-27 16:05:08 +00:00
parent 0b6b62682d
commit 4b8282ecec
2 changed files with 2 additions and 0 deletions

View File

@@ -88,6 +88,7 @@ export function FlowPilotSession({
prevBranchIdRef.current = activeBranchId
}, [activeBranchId, branches])
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const handleLinkTicket = async (ticketId: string, _ticket?: PSATicketInfo) => {
if (!session.psa_connection_id && !session.ticket_data) {
// Need a connection ID — try to get it from the integrations API

View File

@@ -97,6 +97,7 @@ export default function FlowPilotAnalyticsPage() {
}, [period])
// Lazy-load tab data on tab switch or period change
// eslint-disable-next-line react-hooks/set-state-in-effect -- fetches data on tab/period change
useEffect(() => {
if (activeTab === 'coverage' && coveragePeriodRef.current !== period) {
setCoverageLoading(true)