Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix([issue-1993]): drop unused timeLimitSec prop and redundant eslint-disables

[._.]/ Adam Eivyb32784602de5
diff --git a/client/src/components/meatspace/post/PostCognitiveDrillRunner.jsx b/client/src/components/meatspace/post/PostCognitiveDrillRunner.jsx
index b3f7f0e903..05ab2a9f40 100644
--- a/client/src/components/meatspace/post/PostCognitiveDrillRunner.jsx
+++ b/client/src/components/meatspace/post/PostCognitiveDrillRunner.jsx
@@ -12,7 +12,7 @@ import { DRILL_LABELS } from './constants';
* view; the server recomputes it deterministically from `drillData` on save
* (server/services/meatspacePostCognitive.js). NO provider calls anywhere.
*/
-export default function PostCognitiveDrillRunner({ drill, timeLimitSec, drillIndex, drillCount, onComplete, isTraining }) {
+export default function PostCognitiveDrillRunner({ drill, drillIndex, drillCount, onComplete, isTraining }) {
if (!drill) {
return (
<div className="flex items-center justify-center h-64">
@@ -114,7 +114,6 @@ function NBackRunner({ drill, drillIndex, drillCount, onComplete, isTraining })
};
timeoutRef.current = setTimeout(step, 800);
return () => { mountedRef.current = false; clearTimeout(timeoutRef.current); };
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
const registerMatch = useCallback(() => {
@@ -248,7 +247,6 @@ function DigitSpanRunner({ drill, drillIndex, drillCount, onComplete, isTraining
recallStartRef.current = Date.now();
}, t));
return () => timers.forEach(clearTimeout);
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [seqIdx]);
useEffect(() => { if (phase === 'recall') inputRef.current?.focus(); }, [phase]);