mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 11:51:14 -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;
|
if (!user) return;
|
||||||
|
|
||||||
restoreActiveLock();
|
restoreActiveLock();
|
||||||
}, [user, restoreActiveLock]);
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
}, [user]);
|
||||||
|
|
||||||
// Sync lock state across tabs when user returns to the page
|
// Sync lock state across tabs when user returns to the page
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user