mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 23:31:12 -05:00
Fix: Remove redundant fetchStats useEffect
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user