Fix: Remove redundant fetchStats useEffect

This commit is contained in:
gpt-engineer-app[bot]
2025-10-13 00:05:41 +00:00
parent 984dcddc0e
commit 43d36a97e0

View File

@@ -80,11 +80,6 @@ export const useModerationQueue = () => {
} }
}, [user]); }, [user]);
// Fetch stats on mount only (realtime updates handled by useModerationStats)
useEffect(() => {
fetchStats();
}, [fetchStats]);
// Start countdown timer for lock expiry // Start countdown timer for lock expiry
const startLockTimer = useCallback((expiresAt: Date) => { const startLockTimer = useCallback((expiresAt: Date) => {
if (lockTimerRef.current) { if (lockTimerRef.current) {