chore(FE): Add setTableState to useEffect dependency arrays

This commit is contained in:
rstubryan
2026-03-04 14:11:17 +07:00
parent bb28ae8613
commit b786acf71a
7 changed files with 7 additions and 7 deletions
@@ -128,7 +128,7 @@ const NonstocksTable = () => {
useEffect(() => {
setTableState('nonstocks-table', pathname);
}, [pathname]);
}, [pathname, setTableState]);
const [sorting, setSorting] = useState<SortingState>([]);