mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 07:15:44 +00:00
chore(FE): Add setTableState to useEffect dependency array
This commit is contained in:
@@ -128,7 +128,7 @@ const UomsTable = () => {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setTableState('uoms-table', pathname);
|
setTableState('uoms-table', pathname);
|
||||||
}, [pathname]);
|
}, [pathname, setTableState]);
|
||||||
|
|
||||||
const [sorting, setSorting] = useState<SortingState>([]);
|
const [sorting, setSorting] = useState<SortingState>([]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user