mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 23:04:52 +09:00
Turns out objects in the second argument to useEffect is compared by Object.is(), this means if the array containing the instances or slaves to show logs for get re-created during an update the LogConsole component would send a new request for the logs. Fix by converting the slave_ids and instance_ids arrays into strings before passing them on to useEffect.