fix: remove eslint-disable-line for unregistered react-hooks/exhaustive-deps rule
The project's ESLint flat config does not include the react-hooks plugin, so referencing its rules in eslint-disable comments causes a "rule not found" error. Replace with a plain comment preserving the intent. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -356,7 +356,7 @@ export function MissionInterviewModal({
|
|||||||
setMissionGoal(persisted);
|
setMissionGoal(persisted);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [isOpen]); // eslint-disable-line react-hooks/exhaustive-deps
|
}, [isOpen]); // intentional: only re-run on open/close, not on every keystroke
|
||||||
|
|
||||||
// Auto-start when initialGoal prop is provided
|
// Auto-start when initialGoal prop is provided
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user