Fix: Remove fetchItems from mount effect dependency

This commit is contained in:
gpt-engineer-app[bot]
2025-10-13 00:15:43 +00:00
parent 039061ee52
commit be92deec43

View File

@@ -777,7 +777,8 @@ export function useModerationQueueManager(config: ModerationQueueManagerConfig):
isMountingRef.current = false;
});
});
}, [user?.id, fetchItems]);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [user?.id]);
// Filter changes trigger refetch
useEffect(() => {