mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 06:31:13 -05:00
Fix: Remove restoreActiveLock from useEffect dependency
This commit is contained in:
@@ -215,7 +215,8 @@ export const useModerationQueue = (config?: UseModerationQueueConfig) => {
|
||||
if (!user) return;
|
||||
|
||||
restoreActiveLock();
|
||||
}, [user, restoreActiveLock]);
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [user]);
|
||||
|
||||
// Sync lock state across tabs when user returns to the page
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user