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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user