Some of the useEffect blocks inside TableView cause some tables to rerender themselves infintely. For example, going to /time-unit/abdounian and the Locality tab there causes the table to be rerendered infinitely, and the url to flicker.
This seems to be caused by the TableView component navigating to a url inside useEffect, which causes a rerender, which causes the useEffect to run again, creating an infinite loop. Another part of the problem is in useSyncTabSearch.ts which has another navigate inside an useEffect, which causes the tab=1 part of the url to flicker.
Some of the useEffect blocks inside TableView cause some tables to rerender themselves infintely. For example, going to /time-unit/abdounian and the Locality tab there causes the table to be rerendered infinitely, and the url to flicker.
This seems to be caused by the TableView component navigating to a url inside useEffect, which causes a rerender, which causes the useEffect to run again, creating an infinite loop. Another part of the problem is in
useSyncTabSearch.tswhich has another navigate inside an useEffect, which causes thetab=1part of the url to flicker.