You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #2695 pins eslint-plugin-react-hooks to v6 because v7 bundles React Compiler rules that produce ~33 violations. Three rules-of-hooks violations in InspectionsContext.tsx are suppressed with eslint-disable comments.
Tasks
Fix InspectionsContext.tsx: extract fetchImageData/fetchAnalysisData/fetchValueData as standalone custom hooks (they call useQuery so they are hooks, not context methods)
Context
PR #2695 pins
eslint-plugin-react-hooksto v6 because v7 bundles React Compiler rules that produce ~33 violations. Threerules-of-hooksviolations inInspectionsContext.tsxare suppressed with eslint-disable comments.Tasks
InspectionsContext.tsx: extractfetchImageData/fetchAnalysisData/fetchValueDataas standalone custom hooks (they calluseQueryso they are hooks, not context methods)eslint-plugin-react-hooksto v7+References