remove lint

This commit is contained in:
EthanHealy01 2025-09-17 20:01:21 +01:00
parent e71128d846
commit bcba83ab43

View File

@ -20,7 +20,7 @@ export function useSingleExpandController(opts: {
// If single-expand is turned off, clear selection
useEffect(() => {
if (!enabled && expandedStep !== null) setExpandedStep(null);
}, [enabled]); // eslint-disable-line react-hooks/exhaustive-deps
}, [enabled]);
// If the selected step becomes invisible, clear it
useEffect(() => {
@ -28,7 +28,7 @@ export function useSingleExpandController(opts: {
if (expandedStep && !visibleIds.includes(expandedStep)) {
setExpandedStep(null);
}
}, [enabled, expandedStep, visibleIds]); // eslint-disable-line react-hooks/exhaustive-deps
}, [enabled, expandedStep, visibleIds]);
// When results become visible, automatically expand them and collapse all others
useEffect(() => {