mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 17:51:12 -05:00
Fix: Watch sort.config object in effect
This commit is contained in:
@@ -799,7 +799,7 @@ export function useModerationQueueManager(config: ModerationQueueManagerConfig):
|
||||
pagination.reset();
|
||||
fetchItemsRef.current?.(true);
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [sort.config.field, sort.config.direction]);
|
||||
}, [sort.config]);
|
||||
|
||||
// Pagination changes trigger refetch
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user